ryanmcgrath / wrench-js

Recursive file operations in Node.js
MIT License
435 stars 71 forks source link

rmdirRecursive throws "Cannot call method 'shift' of undefined" error #91

Open saintedlama opened 10 years ago

saintedlama commented 10 years ago

In case the directory to rmdir recursive does not exist an error is thrown (not passed to the callback):

"Cannot call method 'shift' of undefined" wrench.js:382:34