max-mapper / extract-zip

Zip extraction written in pure JavaScript. Extracts a zip into a directory.
BSD 2-Clause "Simplified" License
391 stars 127 forks source link

do not create target directory if root directory #113

Open superigno opened 3 years ago

superigno commented 3 years ago

Should fix the error "EPERM: operation not permitted, mkdir 'C:\'" when trying to extract into a root directory (ie: C:)

carlfranz commented 3 years ago

Hello we encountered the same issue, will this fix be merged and published in near time?