Skip to content

Commit 3c1ad38

Browse files
vsnehil92jasnell
authored andcommitted
stream: fix incorrect comment in _stream_readable.js
PR-URL: #19882 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent b6aec1d commit 3c1ad38

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/_stream_readable.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@ function chunkInvalid(state, chunk) {
302302
}
303303

304304

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

0 commit comments

Comments
 (0)