summaryrefslogtreecommitdiff
path: root/lib/_stream_writable.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/_stream_writable.js')
-rw-r--r--lib/_stream_writable.js6
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;