diff options
author | cjihrig <cjihrig@gmail.com> | 2019-12-03 23:54:35 -0500 |
---|---|---|
committer | Daniel Bevenius <daniel.bevenius@gmail.com> | 2019-12-09 07:15:29 +0100 |
commit | 26991d0831e356c9ab86fa6cd0823afeaa0ec950 (patch) | |
tree | aacce51d36b24984ef5a8a70cb41e64a75eb59b4 /deps/npm | |
parent | ba612536725da20fe1fdbdec748dc1aca63d6357 (diff) | |
download | android-node-v8-26991d0831e356c9ab86fa6cd0823afeaa0ec950.tar.gz android-node-v8-26991d0831e356c9ab86fa6cd0823afeaa0ec950.tar.bz2 android-node-v8-26991d0831e356c9ab86fa6cd0823afeaa0ec950.zip |
fs: add synchronous retries to rimraf
This commit gives the synchronous version of rimraf the same
linear retry logic as the asynchronous version. Prior to this
commit, sync rimraf kept retrying the operation as soon as
possible until maxRetries was reached.
PR-URL: https://github.com/nodejs/node/pull/30785
Fixes: https://github.com/nodejs/node/issues/30580
Refs: https://github.com/nodejs/node/pull/30569
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Diffstat (limited to 'deps/npm')
0 files changed, 0 insertions, 0 deletions