Skip to content

Commit d70454b

Browse files
RyanZimtargos
authored andcommitted
doc: fix fs.writeFileSync return value documentation
In #50009, the return value was accidentally made part of `flush` option bullet point. PR-URL: #50760 Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Vinícius Lourenço Claro Cardoso <[email protected]> Reviewed-By: Deokjin Kim <[email protected]>
1 parent 88f5cf5 commit d70454b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

doc/api/fs.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -6256,7 +6256,8 @@ changes:
62566256
* `flag` {string} See [support of file system `flags`][]. **Default:** `'w'`.
62576257
* `flush` {boolean} If all data is successfully written to the file, and
62586258
`flush` is `true`, `fs.fsyncSync()` is used to flush the data.
6259-
Returns `undefined`.
6259+
6260+
Returns `undefined`.
62606261
62616262
The `mode` option only affects the newly created file. See [`fs.open()`][]
62626263
for more details.

0 commit comments

Comments
 (0)