Skip to content

Commit

Permalink
stream: fix incorrect comment in _stream_readable.js
Browse files Browse the repository at this point in the history
PR-URL: #19882
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
  • Loading branch information
vsnehil92 authored and jasnell committed Apr 16, 2018
1 parent b6aec1d commit 3c1ad38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/_stream_readable.js
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ function chunkInvalid(state, chunk) {
}


// if it's past the high water mark, we can push in some more.
// We can push more data if we are below the highWaterMark.
// Also, if we have no data yet, we can stand some
// more bytes. This is to work around cases where hwm=0,
// such as the repl. Also, if the push() triggered a
Expand Down

0 comments on commit 3c1ad38

Please sign in to comment.