summaryrefslogtreecommitdiff
path: root/lib/internal/fs/watchers.js
diff options
context:
space:
mode:
authorRuben Bridgewater <ruben@bridgewater.de>2019-03-07 01:03:53 +0100
committerRuben Bridgewater <ruben@bridgewater.de>2019-03-10 00:44:40 +0100
commitf8763bb077db2f0be74e353c0b4f9e353c0fffa8 (patch)
treec73128074daa65d2e72e4d2a86a5b08059888144 /lib/internal/fs/watchers.js
parent01a5300f3f4f788a043f6b5fe72e2b7b641dfb6c (diff)
downloadandroid-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/internal/fs/watchers.js')
-rw-r--r--lib/internal/fs/watchers.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/internal/fs/watchers.js b/lib/internal/fs/watchers.js
index 32d660a594..2de58b7a1d 100644
--- a/lib/internal/fs/watchers.js
+++ b/lib/internal/fs/watchers.js
@@ -118,7 +118,7 @@ function FSWatcher() {
if (this._handle !== null) {
// We don't use this.close() here to avoid firing the close event.
this._handle.close();
- this._handle = null; // make the handle garbage collectable
+ this._handle = null; // Make the handle garbage collectable
}
const error = errors.uvException({
errno: status,
@@ -186,7 +186,7 @@ FSWatcher.prototype.close = function() {
return;
}
this._handle.close();
- this._handle = null; // make the handle garbage collectable
+ this._handle = null; // Make the handle garbage collectable
process.nextTick(emitCloseNT, this);
};