You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As said in the title, I get an Exception ENOTEMPTY when I run removeTree() on a directory for the first time, but if I run it again it works without issue.
The text was updated successfully, but these errors were encountered:
I noticed this within a test module, when attempting to immediately delete a folder after creation, or very shortly thereafter. Perhaps a lock is pending removal, or perhaps the list of items being recursively removed did not include a recently added item.
By simply adding a timeout, the problem was resolved (for us at least).
As said in the title, I get an Exception ENOTEMPTY when I run removeTree() on a directory for the first time, but if I run it again it works without issue.
The text was updated successfully, but these errors were encountered: