summaryrefslogtreecommitdiff
path: root/lib/fs.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/fs.js')
-rw-r--r--lib/fs.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/fs.js b/lib/fs.js
index b767c8a322..2de5f8dd6e 100644
--- a/lib/fs.js
+++ b/lib/fs.js
@@ -160,7 +160,7 @@ fs.Stats = Stats;
function isFileType(fileType) {
// Use stats array directly to avoid creating an fs.Stats instance just for
// our internal use.
- return (statValues[1/*mode*/] & S_IFMT) === fileType;
+ return (statValues[1/* mode */] & S_IFMT) === fileType;
}
// Don't allow mode to accidentally be overwritten.
@@ -1442,7 +1442,7 @@ function StatWatcher() {
this._handle.onchange = function(newStatus) {
if (oldStatus === -1 &&
newStatus === -1 &&
- statValues[2/*new nlink*/] === statValues[16/*old nlink*/]) return;
+ statValues[2/* new nlink */] === statValues[16/* old nlink */]) return;
oldStatus = newStatus;
self.emit('change', statsFromValues(), statsFromPrevValues());