doc: edit filehandle.close() entry in fs.md

PR-URL: https://github.com/nodejs/node/pull/34782
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Harshitha K P <harshitha014@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
This commit is contained in:
Rich Trott authored and James M Snell committed 2020-08-17 11:47:09 -07:00
1 parent 0eca660948
commit c62cf1d9c5
1 file changed
+2 -2
+2 -2
View File
@@ -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;