From b074717af77d26b7eb3594d736d3d33195a55ff7 Mon Sep 17 00:00:00 2001 From: cjihrig Date: Thu, 8 Oct 2020 16:39:59 -0400 Subject: [PATCH] doc: remove incorrect synchronous label fsPromises.rm() is not synchronous. PR-URL: https://github.com/nodejs/node/pull/35561 Reviewed-By: Daijiro Wachi Reviewed-By: Ben Coe Reviewed-By: Jiawen Geng Reviewed-By: Harshitha K P Reviewed-By: Benjamin Gruenbaum Reviewed-By: Luigi Pinca Reviewed-By: Rich Trott --- doc/api/fs.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/api/fs.md b/doc/api/fs.md index a83d96fabb308a..58e4e96988c081 100644 --- a/doc/api/fs.md +++ b/doc/api/fs.md @@ -5540,8 +5540,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])`