summaryrefslogtreecommitdiff
path: root/lib/_stream_readable.js
diff options
context:
space:
mode:
authorSnehil Verma <vsnehil92@gmail.com>2018-04-08 23:03:00 +0530
committerJames M Snell <jasnell@gmail.com>2018-04-14 13:15:02 -0700
commite76831be0ca92585f2e4a3caf26875c6963b6019 (patch)
tree1ded1c531a5cc70f7eeea6a04c06a42979cc5669 /lib/_stream_readable.js
parent45f6dccae1c98ef50d573786b25720ff0fcff5aa (diff)
downloadandroid-node-v8-e76831be0ca92585f2e4a3caf26875c6963b6019.tar.gz
android-node-v8-e76831be0ca92585f2e4a3caf26875c6963b6019.tar.bz2
android-node-v8-e76831be0ca92585f2e4a3caf26875c6963b6019.zip
stream: fix incorrect comment in _stream_readable.js
PR-URL: https://github.com/nodejs/node/pull/19882 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'lib/_stream_readable.js')
-rw-r--r--lib/_stream_readable.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/_stream_readable.js b/lib/_stream_readable.js
index 5b044e79c1..8073e174cc 100644
--- a/lib/_stream_readable.js
+++ b/lib/_stream_readable.js
@@ -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