adm-zip
adm-zip copied to clipboard
Duplicate files extracted in rootfolder when specifying a different target path in zip.extractEntryTo()
The current version has a bug in fn: zip.extractEntryTo(entry name, target path, maintainEntryPath, overwrite);
Using this function will correctly extract the files in the layers of folders in the zipfile but when having files in deeper layered folders, the files will be extracted into the deeper layered folders as you give the target path correctly, but will create another duplicate of the files in the rootfolder.
When going back to version: "^0.4.10" it works again without the bug.