Skip to content

Commit 618b389

Browse files
TrottMylesBorins
authored andcommitted
doc: remove personal pronoun usage in fs.md
Per our style guide, avoid personal pronouns (I, you, we, etc.) in reference documentation. PR-URL: #32142 Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
1 parent fa99fb2 commit 618b389

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

doc/api/fs.md

+7-7
Original file line numberDiff line numberDiff line change
@@ -1720,9 +1720,9 @@ By default, the stream will not emit a `'close'` event after it has been
17201720
destroyed. This is the opposite of the default for other `Readable` streams.
17211721
Set the `emitClose` option to `true` to change this behavior.
17221722

1723-
By providing the `fs` option it is possible to override the corresponding `fs`
1724-
implementations for `open`, `read` and `close`. When providing the `fs` option,
1725-
you must override `open`, `close` and `read`.
1723+
By providing the `fs` option, it is possible to override the corresponding `fs`
1724+
implementations for `open`, `read`, and `close`. When providing the `fs` option,
1725+
overrides for `open`, `read`, and `close` are required.
17261726

17271727
```js
17281728
const fs = require('fs');
@@ -1816,8 +1816,8 @@ Set the `emitClose` option to `true` to change this behavior.
18161816
By providing the `fs` option it is possible to override the corresponding `fs`
18171817
implementations for `open`, `write`, `writev` and `close`. Overriding `write()`
18181818
without `writev()` can reduce performance as some optimizations (`_writev()`)
1819-
will be disabled. When providing the `fs` option, you must override `open`,
1820-
`close` and at least one of `write` and `writev`.
1819+
will be disabled. When providing the `fs` option, overrides for `open`,
1820+
`close`, and at least one of `write` and `writev` are required.
18211821

18221822
Like [`ReadStream`][], if `fd` is specified, [`WriteStream`][] will ignore the
18231823
`path` argument and will use the specified file descriptor. This means that no
@@ -4237,8 +4237,8 @@ in that they provide an object oriented API for working with files.
42374237
If a `FileHandle` is not closed using the
42384238
`filehandle.close()` method, it might automatically close the file descriptor
42394239
and will emit a process warning, thereby helping to prevent memory leaks.
4240-
Please do not rely on this behavior in your code because it is unreliable and
4241-
your file may not be closed. Instead, always explicitly close `FileHandle`s.
4240+
Please do not rely on this behavior because it is unreliable and
4241+
the file may not be closed. Instead, always explicitly close `FileHandle`s.
42424242
Node.js may change this behavior in the future.
42434243

42444244
Instances of the `FileHandle` object are created internally by the

0 commit comments

Comments
 (0)