Skip to content

Commit

Permalink
doc: fix missing negation in stream.md
Browse files Browse the repository at this point in the history
Changing `..can result in expected` to `..can result in unexpected`

Fixes: #10710
PR-URL: #10712
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
  • Loading branch information
jrieken authored and MylesBorins committed Mar 7, 2017
1 parent fc4dccb commit 0c5e02f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/api/stream.md
Original file line number Diff line number Diff line change
Expand Up @@ -1306,7 +1306,7 @@ It is recommended that errors occurring during the processing of the
`writable._write()` and `writable._writev()` methods are reported by invoking
the callback and passing the error as the first argument. This will cause an
`'error'` event to be emitted by the Writable. Throwing an Error from within
`writable._write()` can result in expected and inconsistent behavior depending
`writable._write()` can result in unexpected and inconsistent behavior depending
on how the stream is being used. Using the callback ensures consistent and
predictable handling of errors.

Expand Down

0 comments on commit 0c5e02f

Please sign in to comment.