Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: harden tmpdir/rmdirSync error handling
This makes rmdirSync call itself after handling ENOTEMPTY, EEXIST, EPERM errors instead of directly using fs.rmdirSync to handle the possibility of such errors repeating on the next try (i.e. FS finished writing new file just as we are done with our loop to delete all files). Refs: nodejs#29852
- Loading branch information