send stat error, not readdir error
This commit is contained in:
parent
767a684da1
commit
24d237ae74
|
@ -183,7 +183,7 @@
|
||||||
files = [me._wcurpath];
|
files = [me._wcurpath];
|
||||||
me._wcurpath = me._wcurpath.replace(files[0], '');
|
me._wcurpath = me._wcurpath.replace(files[0], '');
|
||||||
} else {
|
} else {
|
||||||
me.emit('nodeError', me._wcurpath, { error: err }, noop);
|
me.emit('nodeError', me._wcurpath, { error: e }, noop);
|
||||||
}
|
}
|
||||||
|
|
||||||
me._wReadFiles();
|
me._wReadFiles();
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
},
|
},
|
||||||
"lib": ".",
|
"lib": ".",
|
||||||
"main": "./lib/walk.js",
|
"main": "./lib/walk.js",
|
||||||
"version": "2.3.6",
|
"version": "2.3.7",
|
||||||
"repository": {
|
"repository": {
|
||||||
"url": "git://github.com/coolaj86/node-walk.git"
|
"url": "git://github.com/coolaj86/node-walk.git"
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue