diff options
author | Ruben Bridgewater <ruben@bridgewater.de> | 2019-03-07 01:03:53 +0100 |
---|---|---|
committer | Ruben Bridgewater <ruben@bridgewater.de> | 2019-03-10 00:44:40 +0100 |
commit | f8763bb077db2f0be74e353c0b4f9e353c0fffa8 (patch) | |
tree | c73128074daa65d2e72e4d2a86a5b08059888144 /lib/_stream_writable.js | |
parent | 01a5300f3f4f788a043f6b5fe72e2b7b641dfb6c (diff) | |
download | android-node-v8-f8763bb077db2f0be74e353c0b4f9e353c0fffa8.tar.gz android-node-v8-f8763bb077db2f0be74e353c0b4f9e353c0fffa8.tar.bz2 android-node-v8-f8763bb077db2f0be74e353c0b4f9e353c0fffa8.zip |
benchmark,doc,lib,test: capitalize comments
PR-URL: https://github.com/nodejs/node/pull/26483
Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
Reviewed-By: Michaƫl Zasso <targos@protonmail.com>
Diffstat (limited to 'lib/_stream_writable.js')
-rw-r--r-- | lib/_stream_writable.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/_stream_writable.js b/lib/_stream_writable.js index e56a067420..fa7b851249 100644 --- a/lib/_stream_writable.js +++ b/lib/_stream_writable.js @@ -434,7 +434,7 @@ function onwriteError(stream, state, sync, er, cb) { cb(er); stream._writableState.errorEmitted = true; errorOrDestroy(stream, er); - // this can emit finish, but finish must + // This can emit finish, but finish must // always follow error finishMaybe(stream, state); } @@ -589,7 +589,7 @@ Writable.prototype.end = function(chunk, encoding, cb) { this.uncork(); } - // ignore unnecessary end() calls. + // Ignore unnecessary end() calls. if (!state.ending) endWritable(this, state, cb); @@ -697,7 +697,7 @@ Object.defineProperty(Writable.prototype, 'destroyed', { return this._writableState.destroyed; }, set(value) { - // we ignore the value if the stream + // We ignore the value if the stream // has not been initialized yet if (!this._writableState) { return; |