Fix: Unexpected use of continue statement.
Signed-off-by: tzhtaylor <12352549+tzhtaylor@user.noreply.gitee.com>
This commit is contained in:
parent
f6defe8180
commit
5cf1d2f45e
|
@ -128,9 +128,9 @@ class BasicGenerator extends Generator {
|
|||
if (fs.existsSync(fullpath)) {
|
||||
this.traverseDirCapture(fullpath, dirCallback, fileCallback);
|
||||
}
|
||||
continue;
|
||||
} else {
|
||||
fileCallback(fullpath);
|
||||
}
|
||||
fileCallback(fullpath);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue