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