doc: remove incorrect synchronous label

fsPromises.rm() is not synchronous.

PR-URL: https://github.com/nodejs/node/pull/35561
Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
Reviewed-By: Ben Coe <bencoe@gmail.com>
Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
Reviewed-By: Harshitha K P <harshitha014@gmail.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
pull/35561/head
cjihrig 2020-10-08 16:39:59 -04:00
parent b8bd456839
commit 71a48c338a
No known key found for this signature in database
GPG Key ID: 7434390BDBE9B9C5
1 changed files with 2 additions and 2 deletions

View File

@ -5570,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])`
<!-- YAML