@@ -3222,7 +3222,8 @@ added: v0.0.2
32223222changes:
32233223 - version: REPLACEME
32243224 pr-url: https://github.com/nodejs/node/pull/30644
3225- description: The `maxBusyTries` option is renamed to `maxRetries`.
3225+ description: The `maxBusyTries` option is renamed to `maxRetries`, and its
3226+ default is 0.
32263227 - version: v12.10.0
32273228 pr-url: https://github.com/nodejs/node/pull/29168
32283229 description: The `recursive`, `maxBusyTries`, and `emfileWait` options are
@@ -3252,7 +3253,7 @@ changes:
32523253 * ` maxRetries ` {integer} If an ` EBUSY ` , ` ENOTEMPTY ` , or ` EPERM ` error is
32533254 encountered, Node.js will retry the operation with a linear backoff wait of
32543255 100ms longer on each try. This option represents the number of retries. This
3255- option is ignored if the ` recursive ` option is not ` true ` . ** Default:** ` 3 ` .
3256+ option is ignored if the ` recursive ` option is not ` true ` . ** Default:** ` 0 ` .
32563257 * ` recursive ` {boolean} If ` true ` , perform a recursive directory removal. In
32573258 recursive mode, errors are not reported if ` path ` does not exist, and
32583259 operations are retried on failure. ** Default:** ` false ` .
@@ -3271,7 +3272,8 @@ added: v0.1.21
32713272changes:
32723273 - version: REPLACEME
32733274 pr-url: https://github.com/nodejs/node/pull/30644
3274- description: The `maxBusyTries` option is renamed to `maxRetries`.
3275+ description: The `maxBusyTries` option is renamed to `maxRetries`, and its
3276+ default is 0.
32753277 - version: v12.10.0
32763278 pr-url: https://github.com/nodejs/node/pull/29168
32773279 description: The `recursive`, `maxBusyTries`, and `emfileWait` options are
@@ -3286,6 +3288,10 @@ changes:
32863288
32873289* ` path ` {string|Buffer|URL}
32883290* ` options ` {Object}
3291+ * ` maxRetries ` {integer} If an ` EBUSY ` , ` ENOTEMPTY ` , or ` EPERM ` error is
3292+ encountered, Node.js will retry the operation. This option represents the
3293+ number of retries. This option is ignored if the ` recursive ` option is not
3294+ ` true ` . ** Default:** ` 0 ` .
32893295 * ` recursive ` {boolean} If ` true ` , perform a recursive directory removal. In
32903296 recursive mode, errors are not reported if ` path ` does not exist, and
32913297 operations are retried on failure. ** Default:** ` false ` .
@@ -4998,7 +5004,8 @@ added: v10.0.0
49985004changes:
49995005 - version: REPLACEME
50005006 pr-url: https://github.com/nodejs/node/pull/30644
5001- description: The `maxBusyTries` option is renamed to `maxRetries`.
5007+ description: The `maxBusyTries` option is renamed to `maxRetries`, and its
5008+ default is 0.
50025009 - version: v12.10.0
50035010 pr-url: https://github.com/nodejs/node/pull/29168
50045011 description: The `recursive`, `maxBusyTries`, and `emfileWait` options are
@@ -5016,7 +5023,7 @@ changes:
50165023 * ` maxRetries ` {integer} If an ` EBUSY ` , ` ENOTEMPTY ` , or ` EPERM ` error is
50175024 encountered, Node.js will retry the operation with a linear backoff wait of
50185025 100ms longer on each try. This option represents the number of retries. This
5019- option is ignored if the ` recursive ` option is not ` true ` . ** Default:** ` 3 ` .
5026+ option is ignored if the ` recursive ` option is not ` true ` . ** Default:** ` 0 ` .
50205027 * ` recursive ` {boolean} If ` true ` , perform a recursive directory removal. In
50215028 recursive mode, errors are not reported if ` path ` does not exist, and
50225029 operations are retried on failure. ** Default:** ` false ` .
0 commit comments