diff options
Diffstat (limited to 'lib/fs.js')
-rw-r--r-- | lib/fs.js | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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()); |