Skip to content

Commit f89a5eb

Browse files
RyanZimUlisesGascon
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 598c205 commit f89a5eb

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
@@ -6220,7 +6220,8 @@ changes:
62206220
* `flag` {string} See [support of file system `flags`][]. **Default:** `'w'`.
62216221
* `flush` {boolean} If all data is successfully written to the file, and
62226222
`flush` is `true`, `fs.fsyncSync()` is used to flush the data.
6223-
Returns `undefined`.
6223+
6224+
Returns `undefined`.
62246225
62256226
The `mode` option only affects the newly created file. See [`fs.open()`][]
62266227
for more details.

0 commit comments

Comments
 (0)