diff --git a/doc/api/fs.md b/doc/api/fs.md index ac7c78ce8e084f..5ff5de1f9d73f8 100644 --- a/doc/api/fs.md +++ b/doc/api/fs.md @@ -6220,7 +6220,8 @@ changes: * `flag` {string} See [support of file system `flags`][]. **Default:** `'w'`. * `flush` {boolean} If all data is successfully written to the file, and `flush` is `true`, `fs.fsyncSync()` is used to flush the data. - Returns `undefined`. + +Returns `undefined`. The `mode` option only affects the newly created file. See [`fs.open()`][] for more details.