adm-zip icon indicating copy to clipboard operation
adm-zip copied to clipboard

Duplicate files extracted in rootfolder when specifying a different target path in zip.extractEntryTo()

Open Bob-Coding opened this issue 3 years ago • 0 comments

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.

Bob-Coding avatar Dec 22 '21 21:12 Bob-Coding