Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fs: reduce unnecessary sync rimraf retries
rimraf should only retry if certain errors are encountered. Additionally, there is no point sleeping if an error occurs on the last try. PR-URL: nodejs#30785 Fixes: nodejs#30580 Refs: nodejs#30569 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com>
- Loading branch information