diff --git a/doc/api/fs.md b/doc/api/fs.md index 243ab75ca72541..50abf3678b6300 100644 --- a/doc/api/fs.md +++ b/doc/api/fs.md @@ -6256,7 +6256,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.