ryanmcgrath / wrench-js

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

Updated recursive copy logic to honor the preserveFiles option #100

Closed slife closed 7 years ago

slife commented 9 years ago

I feel that when the option preserveFiles: true and forceDelete: false is specified, an Error() shouldn't be returned.

The existing test case test_copyDirSyncRecursivePreserveFiles was only working because it was failing silently and no copy was taking place.

jlukic commented 7 years ago

I've forked your fork @derekslife and included as a tagged release as part of semantic-org. https://github.com/Semantic-Org/Semantic-UI/issues/3404