chore(size) rm isDir

This commit is contained in:
coderaiser 2014-11-19 08:15:06 -05:00
parent 88d28816fd
commit bbf8443b9c

View file

@ -88,9 +88,9 @@
} else if (!error) {
isDir = stat.isDirectory();
if (!isDir)
if (!isDir) {
emitter.emit('file', dir, stat);
else if (isDir) {
} else {
++asyncRunning;
fs.readdir(dir, function(error, files) {