-
Notifications
You must be signed in to change notification settings - Fork 76
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
decompressing a unix zip fails if external file attribute is 0 #71
Comments
You're using decompress-zip directly or through some other software? |
using it in an AzureDev Ops pipeline task. The platform spins up a Unix machine, installs the necessary libraries (decompress-zip), and then essentiall calls extract. Snippet:
|
shadargee1982
added a commit
to shadargee1982/decompress-zip
that referenced
this issue
Jan 4, 2021
@sheerun - I've submitted a PR for this issue. Can you please take a look? |
sheerun
added a commit
that referenced
this issue
Jan 11, 2021
#71: default external file attributes to File for Unix
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We've run into a situation where an archive created on Unix can sometimes create a zip file where the external file attribute is 0. This causes this line to fail since 0 isn't in the list of types. Much like how archives created in Windows type property defaults to 'File', the Unix decompression should as well.
The text was updated successfully, but these errors were encountered: