binarykitchen / find-remove

recursively finds files by filter options from a start directory onwards and deletes these. useful if you want to clean up a directory in your node.js app.
https://npmjs.org/package/find-remove
61 stars 19 forks source link

fix options.dir array deletes all directories #15

Closed ghost closed 6 years ago

ghost commented 6 years ago

If an array of directories is passed as options.dir, we accidentally match all directories.