Skip to content

Commit fb36266

Browse files
committed
doc: remove personal pronoun usage in fs.md
Per our style guide, avoid personal pronouns (I, you, we, etc.) in reference documentation. PR-URL: nodejs#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 c37c21b commit fb36266

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

doc/api/fs.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1710,9 +1710,9 @@ By default, the stream will not emit a `'close'` event after it has been
17101710
destroyed. This is the opposite of the default for other `Readable` streams.
17111711
Set the `emitClose` option to `true` to change this behavior.
17121712

1713-
By providing the `fs` option it is possible to override the corresponding `fs`
1714-
implementations for `open`, `read` and `close`. When providing the `fs` option,
1715-
you must override `open`, `close` and `read`.
1713+
By providing the `fs` option, it is possible to override the corresponding `fs`
1714+
implementations for `open`, `read`, and `close`. When providing the `fs` option,
1715+
overrides for `open`, `read`, and `close` are required.
17161716

17171717
```js
17181718
const fs = require('fs');
@@ -1805,8 +1805,8 @@ Set the `emitClose` option to `true` to change this behavior.
18051805
By providing the `fs` option it is possible to override the corresponding `fs`
18061806
implementations for `open`, `write`, `writev` and `close`. Overriding `write()`
18071807
without `writev()` can reduce performance as some optimizations (`_writev()`)
1808-
will be disabled. When providing the `fs` option, you must override `open`,
1809-
`close` and at least one of `write` and `writev`.
1808+
will be disabled. When providing the `fs` option, overrides for `open`,
1809+
`close`, and at least one of `write` and `writev` are required.
18101810

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

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

0 commit comments

Comments
 (0)