doc: fix typo in api/fs
PR-URL: https://github.com/nodejs/node/pull/5678 Reviewed-By: Evan Lucas <evanlucas@me.com> Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
This commit is contained in:
parent
e03c75b4a9
commit
3cde96e02f
@ -383,7 +383,7 @@ default mode `w`. The `defaultEncoding` can be any one of those accepted by [`Bu
|
|||||||
If `autoClose` is set to true (default behavior) on `error` or `end`
|
If `autoClose` is set to true (default behavior) on `error` or `end`
|
||||||
the file descriptor will be closed automatically. If `autoClose` is false,
|
the file descriptor will be closed automatically. If `autoClose` is false,
|
||||||
then the file descriptor won't be closed, even if there's an error.
|
then the file descriptor won't be closed, even if there's an error.
|
||||||
It is your responsiblity to close it and make sure
|
It is your responsibility to close it and make sure
|
||||||
there's no file descriptor leak.
|
there's no file descriptor leak.
|
||||||
|
|
||||||
Like [`ReadStream`][], if `fd` is specified, `WriteStream` will ignore the
|
Like [`ReadStream`][], if `fd` is specified, `WriteStream` will ignore the
|
||||||
|
Loading…
x
Reference in New Issue
Block a user