Skip to content

Commit 258f64f

Browse files
TrottBethGriggs
authored andcommitted
doc: edit filehandle.close() entry in fs.md
PR-URL: #34782 Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Harshitha K P <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Tobias Nießen <[email protected]>
1 parent 756c058 commit 258f64f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/api/fs.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -4528,8 +4528,8 @@ added: v10.0.0
45284528
file descriptor is closed, or will be rejected if an error occurs while
45294529
closing.
45304530

4531-
Closes the file handle. Will wait for any pending operation on the handle
4532-
to complete before completing.
4531+
Closes the file handle after waiting for any pending operation on the handle to
4532+
complete.
45334533

45344534
```js
45354535
const fsPromises = require('fs').promises;

0 commit comments

Comments
 (0)