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

extractEntryTo outFileName not working at version > 0.5.6

Open elonglau opened this issue 3 years ago • 5 comments

I just upgrade my packge today, then find this function cannot work. The adm-zip not change my file name when extract. Then i back to the 0.5.6, it goes well.

elonglau avatar Dec 02 '21 06:12 elonglau

+1

America-first-melon avatar Dec 07 '21 15:12 America-first-melon

Same here !

jerry42 avatar Dec 08 '21 14:12 jerry42

+1

jackhollowaypls avatar Jan 21 '22 17:01 jackhollowaypls

The function signature has changed, the docs is out of date. See https://github.com/cthackers/adm-zip/blob/9e52c3fb9deca9726570d9621802d3d276a113a5/adm-zip.js#L512-L519

klchoi avatar Jan 19 '23 01:01 klchoi

Works like a charm thanks @klchoi !

jerry42 avatar Mar 06 '23 14:03 jerry42