Skip to content

Commit b73e98b

Browse files
jriekenitaloacasas
authored andcommitted
doc: fix missing negation in stream.md
Changing `..can result in expected` to `..can result in unexpected` Fixes: #10710 PR-URL: #10712 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
1 parent bf95b07 commit b73e98b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/api/stream.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1306,7 +1306,7 @@ It is recommended that errors occurring during the processing of the
13061306
`writable._write()` and `writable._writev()` methods are reported by invoking
13071307
the callback and passing the error as the first argument. This will cause an
13081308
`'error'` event to be emitted by the Writable. Throwing an Error from within
1309-
`writable._write()` can result in expected and inconsistent behavior depending
1309+
`writable._write()` can result in unexpected and inconsistent behavior depending
13101310
on how the stream is being used. Using the callback ensures consistent and
13111311
predictable handling of errors.
13121312

0 commit comments

Comments
 (0)