mirror of
https://github.com/bewcloud/bewcloud.git
synced 2026-03-11 08:54:49 +00:00
Include empty directories in zip archive
This commit is contained in:
parent
ee7a5ba82b
commit
2ec4705207
1 changed files with 0 additions and 5 deletions
|
|
@ -133,11 +133,6 @@ async function createZipArchive(entries: FileEntry[], basePath: string): Promise
|
|||
let offset = 0;
|
||||
|
||||
for (const entry of entries) {
|
||||
if (entry.isDirectory) {
|
||||
// Skip empty directories for now
|
||||
continue;
|
||||
}
|
||||
|
||||
const fileName = encoder.encode(entry.path);
|
||||
const fileData = entry.content;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue