From 1bf04dda8d1447938ac5744d2a81ef32cc3b10a5 Mon Sep 17 00:00:00 2001 From: Snehil Verma Date: Sun, 8 Apr 2018 23:03:00 +0530 Subject: [PATCH] stream: fix incorrect comment in _stream_readable.js PR-URL: https://github.com/nodejs/node/pull/19882 Reviewed-By: Matteo Collina Reviewed-By: James M Snell --- lib/_stream_readable.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/_stream_readable.js b/lib/_stream_readable.js index 2c5fb7e3c26206..098fe3a15366b2 100644 --- a/lib/_stream_readable.js +++ b/lib/_stream_readable.js @@ -300,7 +300,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