diff options
author | Ruben Bridgewater <ruben@bridgewater.de> | 2019-01-21 01:22:27 +0100 |
---|---|---|
committer | Ruben Bridgewater <ruben@bridgewater.de> | 2019-02-28 18:31:10 +0100 |
commit | 9edce1e12a7b69e7986dd15fce18d6e46590161a (patch) | |
tree | c5d37d8016a27bab698520ecc51cda4f7ad99d40 /lib/internal/streams/legacy.js | |
parent | 7b674697d8005c29391ebaaf562eb4d92ed9b129 (diff) | |
download | android-node-v8-9edce1e12a7b69e7986dd15fce18d6e46590161a.tar.gz android-node-v8-9edce1e12a7b69e7986dd15fce18d6e46590161a.tar.bz2 android-node-v8-9edce1e12a7b69e7986dd15fce18d6e46590161a.zip |
benchmark,doc,lib,test: capitalize comments
This updates a lot of comments.
PR-URL: https://github.com/nodejs/node/pull/26223
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
Diffstat (limited to 'lib/internal/streams/legacy.js')
-rw-r--r-- | lib/internal/streams/legacy.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/internal/streams/legacy.js b/lib/internal/streams/legacy.js index 85c88c73f0..693987e9d1 100644 --- a/lib/internal/streams/legacy.js +++ b/lib/internal/streams/legacy.js @@ -50,7 +50,7 @@ Stream.prototype.pipe = function(dest, options) { if (typeof dest.destroy === 'function') dest.destroy(); } - // don't leave dangling pipes when there are errors. + // Don't leave dangling pipes when there are errors. function onerror(er) { cleanup(); if (EE.listenerCount(this, 'error') === 0) { @@ -61,7 +61,7 @@ Stream.prototype.pipe = function(dest, options) { source.on('error', onerror); dest.on('error', onerror); - // remove all the event listeners that were added. + // Remove all the event listeners that were added. function cleanup() { source.removeListener('data', ondata); dest.removeListener('drain', ondrain); |