This commit is contained in:
AJ ONeal 2015-01-05 19:12:42 -07:00
vanhempi 527cb82e9d
commit 0978e93679
1 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa

Näytä tiedosto

@ -186,7 +186,7 @@
// error? first run? => maybe a file, maybe a true error
me._wfirstrun = false;
// readdir failed (might be a file), try a stat on the parent
// readdir failed (might be a file), try a stat on the parent
parent = me._wcurpath.replace(/^(.*)\/.*$/, '$1');
fs[me._wStat](parent, function (e, stat) {
@ -194,7 +194,7 @@
// success
// now try stat on this as a child of the parent directory
child = me._wcurpath.replace(/^.*\/(.*)$/, '$1');
files = [child];
me._wcurfiles = [child];
me._wcurpath = parent;
} else {
// TODO v3.0