From c62cf1d9c50aa4d152f28f61df86a6faafa45093 Mon Sep 17 00:00:00 2001 From: Rich Trott Date: Fri, 14 Aug 2020 15:19:51 -0700 Subject: [PATCH] doc: edit filehandle.close() entry in fs.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PR-URL: https://github.com/nodejs/node/pull/34782 Reviewed-By: Richard Lau Reviewed-By: Harshitha K P Reviewed-By: Ruben Bridgewater Reviewed-By: James M Snell Reviewed-By: Tobias Nießen --- 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 4e5ff93e91e9a4..434b8dd577f2bd 100644 --- a/doc/api/fs.md +++ b/doc/api/fs.md @@ -4548,8 +4548,8 @@ added: v10.0.0 file descriptor is closed, or will be rejected if an error occurs while closing. -Closes the file handle. Will wait for any pending operation on the handle -to complete before completing. +Closes the file handle after waiting for any pending operation on the handle to +complete. ```js const fsPromises = require('fs').promises;