refactor(dir) getStat

This commit is contained in:
coderaiser 2014-03-05 06:48:39 -05:00
parent 54e68952d2
commit ae4cf5bfb0

View file

@ -63,7 +63,7 @@
function getStat(dir, error, stat) {
--fileCounter;
if (!error) {
if (!error)
if (stat.isFile())
Util.exec(func, stat);
else if (stat.isDirectory()) {
@ -86,11 +86,10 @@
}
}
if(!n)
if (!n)
execCallBack();
});
}
}
execCallBack();
}