mirror of
https://github.com/nodejs/node.git
synced 2026-11-21 12:59:16 -05:00
doc: remove "strongly recommended" as hedging in fs.md
PR-URL: https://github.com/nodejs/node/pull/28028 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
This commit is contained in:
1 parent
8017e7c17f
commit
2a2005c89c
1 file changed
+2
-2
+2
-2
@@ -4020,7 +4020,7 @@ at the current position. See pwrite(2).
|
||||
|
||||
It is unsafe to use `filehandle.write()` multiple times on the same file
|
||||
without waiting for the `Promise` to be resolved (or rejected). For this
|
||||
scenario, [`fs.createWriteStream()`][] is strongly recommended.
|
||||
scenario, use [`fs.createWriteStream()`][].
|
||||
|
||||
On Linux, positional writes do not work when the file is opened in append mode.
|
||||
The kernel ignores the position argument and always appends the data to
|
||||
@@ -4051,7 +4051,7 @@ will be written at the current position. See pwrite(2).
|
||||
|
||||
It is unsafe to use `filehandle.write()` multiple times on the same file
|
||||
without waiting for the `Promise` to be resolved (or rejected). For this
|
||||
scenario, [`fs.createWriteStream()`][] is strongly recommended.
|
||||
scenario, use [`fs.createWriteStream()`][].
|
||||
|
||||
On Linux, positional writes do not work when the file is opened in append mode.
|
||||
The kernel ignores the position argument and always appends the data to
|
||||
|
||||
Reference in new issue
Block a user