Skip to content

Commit

Permalink
Fix missing negation
Browse files Browse the repository at this point in the history
This will fix nodejs#10710 by changing `..can result in expected` to `..can result in unexpected`
  • Loading branch information
jrieken authored Jan 9, 2017
1 parent 8a12368 commit 14ad012
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 14ad012

Please sign in to comment.