aboutsummaryrefslogtreecommitdiff
path: root/lib/internal/fs/watchers.js
diff options
context:
space:
mode:
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);
};