Open jsepia opened 7 years ago
Thanks for reporting. IRC... this may be a platform limitation. You'll want to dig in https://github.com/feross/cross-zip to find out more.
@jsepia, what platform are you running on? Placing the output file in a separate single subdirectory is working for me on Windows 10, e.g.
cross-zip source target/foobar.zip
Sample
package.json
:Make a nested directory structure:
Run the script:
Expected result: The zip file appears in the CWD (or in this case, the root of the project), as a sibling to
package.json
.Actual result: The zip file shows up in
parent/child/
.