Skip to content

Commit

Permalink
fixup! fs: make open and close stream override optional when unused
Browse files Browse the repository at this point in the history
Co-authored-by: mscdex <mscdex@users.noreply.github.com>
  • Loading branch information
aduh95 and mscdex committed Sep 6, 2021
1 parent f35b0ab commit 52effa5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/api/fs.md
Expand Up @@ -2013,7 +2013,7 @@ destroyed, like most `Readable` streams. Set the `emitClose` option to
By providing the `fs` option, it is possible to override the corresponding `fs`
implementations for `open`, `read`, and `close`. When providing the `fs` option,
an override for `read` is required. If no `fd` is provided, an override for
`open` is also requried. If `autoClose` is `true`, an override for `close` is
`open` is also required. If `autoClose` is `true`, an override for `close` is
also required.
```mjs
Expand Down

0 comments on commit 52effa5

Please sign in to comment.