rmdirRecursive fails to remove symbolic links #35
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#35
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
The following code block from rmdirRecursive fails to act properly on symbolic links. The links get left behind, naturally causing rmdir to fail.
Changing stat to lstat fixes this because lstat is designed to return data about the link itself rather than the target of the link.
change to
Done. Thanks!