ryanmcgrath / wrench-js

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

Set isDir to false for non-existant directory #81

Closed coreybutler closed 10 years ago

coreybutler commented 10 years ago

The PR for issue #45 resolves problems for readdirRecursive, but not for readdirRecursiveSync. This patch sets isDir = false when a directory cannot be found, effectively ceasing further processing.

ryanmcgrath commented 10 years ago

Merged, version bumped, up on npm. Thanks yo.

coreybutler commented 10 years ago

That has got to be the fastest turnaround from PR-->npm I've experienced. Kudos, and thanks! Wrench has been really helpful in a lot of projects.