cthackers/adm-zip — Issue #2: extractAllTo with a non-existing directory fails
Author: jzaefferer
Created: 2012-03-09 13:41:59+00:00
State: open

Trying to extract a zip file to a directoy that doesn't exist yet fails:

TypeError: Cannot call method 'makeDir' of undefined
at Object.writeFileTo (/Users/jza/dev/zip-test/node_modules/adm-zip/util/utils.js:77:31)

Changing `exports.Utils.makeDir` to `module.exports.makeDir` just causes another error, apparently the path resolving in `mkdirSync` is buggy.