mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 18:55:26 +00:00
chore(size) rm isDir
This commit is contained in:
parent
88d28816fd
commit
bbf8443b9c
1 changed files with 2 additions and 2 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue