Skip to content

Commit 13ed817

Browse files
evansolomonisaacs
authored andcommitted
doc: add a missing word in streams doc
Ignore encoding *if* chunk is a buffer
1 parent 032373d commit 13ed817

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/api/stream.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1000,7 +1000,7 @@ initialized.
10001000
* `chunk` {Buffer | String} The chunk to be written. Will always
10011001
be a buffer unless the `decodeStrings` option was set to `false`.
10021002
* `encoding` {String} If the chunk is a string, then this is the
1003-
encoding type. Ignore chunk is a buffer. Note that chunk will
1003+
encoding type. Ignore if chunk is a buffer. Note that chunk will
10041004
**always** be a buffer unless the `decodeStrings` option is
10051005
explicitly set to `false`.
10061006
* `callback` {Function} Call this function (optionally with an error

0 commit comments

Comments
 (0)