aboutsummaryrefslogtreecommitdiff
path: root/lib/internal/fs
diff options
context:
space:
mode:
Diffstat (limited to 'lib/internal/fs')
-rw-r--r--lib/internal/fs/streams.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/internal/fs/streams.js b/lib/internal/fs/streams.js
index b057ddb9bd..24c79dffb5 100644
--- a/lib/internal/fs/streams.js
+++ b/lib/internal/fs/streams.js
@@ -121,7 +121,7 @@ ReadStream.prototype.open = function() {
this.fd = fd;
this.emit('open', fd);
this.emit('ready');
- // start the flow of data.
+ // Start the flow of data.
this.read();
});
};
@@ -137,7 +137,7 @@ ReadStream.prototype._read = function(n) {
return;
if (!pool || pool.length - pool.used < kMinPoolSpace) {
- // discard the old pool.
+ // Discard the old pool.
allocNewPool(this.readableHighWaterMark);
}