When extracting zip archives, if the zip archive has nested folder structures, emulatorjs attempts to hash these folders as files.
Example log:
Scan exited with code: 1
sha1sum: '/data/hashes//<...>/tmp/<nested path>': Is a directory
This PR adds the -j Modifier to unzip commands to prevent directories from being created. (Similar to #52, but for zip archives)
Manpage for unziphttps://linux.die.net/man/1/unzip
Desc:
junk paths. The archive's directory structure is not recreated; all files are deposited in the extraction directory (by default, the current one).
Edit: Let me know if you want an issue for posterity, and I will create and ref it.
When extracting zip archives, if the zip archive has nested folder structures, emulatorjs attempts to hash these folders as files. Example log:
This PR adds the
-j
Modifier to unzip commands to prevent directories from being created. (Similar to #52, but for zip archives) Manpage forunzip
https://linux.die.net/man/1/unzipDesc:
Edit: Let me know if you want an issue for posterity, and I will create and ref it.