Update lib/wrench.js #12
No reviewers
Labels
No labels
Bug
Enhancement
Feature Request
No milestone
No project
No assignees
1 participant
Due date
No due date set.
Dependencies
No dependencies set.
Reference: code/wrench-js#12
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "patch-1"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
For rmdirSyncRecurisve I believe:
var currFile = fs.statSync(path + "/" + files[i]);
should be
var currFile = fs.lstatSync(path + "/" + files[i]);
so any symbolic links will be evaluated as the link instead of the file it resolves to.
Currently a symbolic linked folder being deleted will receive an ENOTDIR, not a directory.
Done. Many thanks, will push a point release!