AvianFlu / ncp

Asynchronous recursive file copying with Node.js.
MIT License
680 stars 103 forks source link

this change addresses issue #74 - Filter, submitted by CSester. #96

Open bill209 opened 9 years ago

bill209 commented 9 years ago

the cause: when a regex filter is provided as an option, the first check is made against the path name, and if the path does not match the regex option, then the callback function is called with no error, and the code is exited without processing any of the files within the folder. this change simply ignores the first iteration through the startCopy function, which is the path name.

Sibz commented 7 years ago

👍