feross / feross/cross-zip

Only .* files are added to zip on Windows

Open
#31 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
JavaScript
Stars
129
Forks
24
PR merge metrics
No merged PRs in 30d

Description

When used on windows with path `./` only files starting with `.` are added to the zip file instead of the whole folder.
Probably because of the command used for windows:
`powershell.exe -nologo -noprofile -command "& { Add-Type -A 'System.IO.Compression.FileSystem'; [IO.Compression.ZipFile]::CreateFromDirectory('${inPath}', '${outPath}'); }"`

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.