diff --git a/doc/api/fs.md b/doc/api/fs.md index 1b54d944e9eea4..aaf44608613543 100644 --- a/doc/api/fs.md +++ b/doc/api/fs.md @@ -3612,7 +3612,8 @@ added: REPLACEME * `path` {string|Buffer|URL} * `options` {Object} - * `force` don't error on nonexistent path + * `force` {boolean} When `true`, exceptions will be ignored if `path` does + not exist. **Default:** `false`. * `maxRetries` {integer} If an `EBUSY`, `EMFILE`, `ENFILE`, `ENOTEMPTY`, or `EPERM` error is encountered, Node.js will retry the operation with a linear backoff wait of `retryDelay` milliseconds longer on each try. This option @@ -3637,7 +3638,8 @@ added: REPLACEME * `path` {string|Buffer|URL} * `options` {Object} - * `force` Ignore errors + * `force` {boolean} When `true`, exceptions will be ignored if `path` does + not exist. **Default:** `false`. * `maxRetries` {integer} If an `EBUSY`, `EMFILE`, `ENFILE`, `ENOTEMPTY`, or `EPERM` error is encountered, Node.js will retry the operation with a linear backoff wait of `retryDelay` milliseconds longer on each try. This option @@ -5555,7 +5557,8 @@ added: REPLACEME * `path` {string|Buffer|URL} * `options` {Object} - * `force` Ignore errors + * `force` {boolean} When `true`, exceptions will be ignored if `path` does + not exist. **Default:** `false`. * `maxRetries` {integer} If an `EBUSY`, `EMFILE`, `ENFILE`, `ENOTEMPTY`, or `EPERM` error is encountered, Node.js will retry the operation with a linear backoff wait of `retryDelay` milliseconds longer on each try. This option @@ -5567,8 +5570,8 @@ added: REPLACEME retries. This option is ignored if the `recursive` option is not `true`. **Default:** `100`. -Synchronously removes files and directories (modeled on the standard POSIX `rm` -utility). Resolves the `Promise` with no arguments on success. +Removes files and directories (modeled on the standard POSIX `rm` utility). +Resolves the `Promise` with no arguments on success. ### `fsPromises.stat(path[, options])`