Skip to content

Commit c62cf1d

Browse files
Trottjasnell
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 0eca660 commit c62cf1d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/api/fs.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4548,8 +4548,8 @@ added: v10.0.0
45484548
file descriptor is closed, or will be rejected if an error occurs while
45494549
closing.
45504550

4551-
Closes the file handle. Will wait for any pending operation on the handle
4552-
to complete before completing.
4551+
Closes the file handle after waiting for any pending operation on the handle to
4552+
complete.
45534553

45544554
```js
45554555
const fsPromises = require('fs').promises;

0 commit comments

Comments
 (0)