Comparing version 1.0.1 to 1.0.2
{ | ||
"name": "sane", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "Sane aims to be fast, small, and reliable file system watcher.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -213,3 +213,3 @@ 'use strict'; | ||
Object.keys(this.dirRegistery[dir]).forEach(function(file, i, arr) { | ||
fs.stat(path.join(dir, file), function(error, stat) { | ||
fs.lstat(path.join(dir, file), function(error, stat) { | ||
if (found) { | ||
@@ -273,3 +273,3 @@ return; | ||
var relativePath = path.join(path.relative(this.root, dir), file); | ||
fs.stat(fullPath, function(error, stat) { | ||
fs.lstat(fullPath, function(error, stat) { | ||
if (error && error.code !== 'ENOENT') { | ||
@@ -276,0 +276,0 @@ this.emit('error', error); |
@@ -133,3 +133,3 @@ 'use strict'; | ||
} else { | ||
fs.stat(absPath, function(error, stat) { | ||
fs.lstat(absPath, function(error, stat) { | ||
if (handleError(self, error)) { | ||
@@ -136,0 +136,0 @@ return; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
50372
12