Skip to content

Zipping a directory is working on Windows but not on Linux #552

@sebovzeoueb

Description

@sebovzeoueb

I have the following code which is working fine in Windows:

await zip.addLocalFolderPromise(path.join(import.meta.dir, "docker_compose"), {zipPath: "docker_compose"})
await zip.writeZipPromise(path.join(import.meta.dir, "..", "assets", "docker_compose.zip"), {overwrite: true})

It adds all the files from the docker_compose directory relative to the script. On Windows this is working, however when I run it on my Ubuntu WSL it creates an empty zip.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions