@@ -78,7 +78,7 @@ StatWatcher.prototype[kFSStatWatcherStart] = function(filename,
78
78
this . _handle . unref ( ) ;
79
79
80
80
// uv_fs_poll is a little more powerful than ev_stat but we curb it for
81
- // the sake of backwards compatibility
81
+ // the sake of backwards compatibility.
82
82
this [ kOldStatus ] = - 1 ;
83
83
84
84
filename = getValidatedPath ( filename , 'filename' ) ;
@@ -95,9 +95,9 @@ StatWatcher.prototype[kFSStatWatcherStart] = function(filename,
95
95
}
96
96
} ;
97
97
98
- // To maximize backward-compatiblity for the end user,
98
+ // To maximize backward-compatibility for the end user,
99
99
// a no-op stub method has been added instead of
100
- // totally removing StatWatcher.prototpye .start.
100
+ // totally removing StatWatcher.prototype .start.
101
101
// This should not be documented.
102
102
StatWatcher . prototype . start = ( ) => { } ;
103
103
@@ -133,7 +133,7 @@ function FSWatcher() {
133
133
if ( this . _handle !== null ) {
134
134
// We don't use this.close() here to avoid firing the close event.
135
135
this . _handle . close ( ) ;
136
- this . _handle = null ; // Make the handle garbage collectable
136
+ this . _handle = null ; // Make the handle garbage collectable.
137
137
}
138
138
const error = errors . uvException ( {
139
139
errno : status ,
@@ -187,9 +187,9 @@ FSWatcher.prototype[kFSWatchStart] = function(filename,
187
187
}
188
188
} ;
189
189
190
- // To maximize backward-compatiblity for the end user,
190
+ // To maximize backward-compatibility for the end user,
191
191
// a no-op stub method has been added instead of
192
- // totally removing FSWatcher.prototpye .start.
192
+ // totally removing FSWatcher.prototype .start.
193
193
// This should not be documented.
194
194
FSWatcher . prototype . start = ( ) => { } ;
195
195
@@ -204,7 +204,7 @@ FSWatcher.prototype.close = function() {
204
204
return ;
205
205
}
206
206
this . _handle . close ( ) ;
207
- this . _handle = null ; // Make the handle garbage collectable
207
+ this . _handle = null ; // Make the handle garbage collectable.
208
208
process . nextTick ( emitCloseNT , this ) ;
209
209
} ;
210
210
0 commit comments