Fix: Unexpected use of continue statement.

Signed-off-by: tzhtaylor <12352549+tzhtaylor@user.noreply.gitee.com>
This commit is contained in:
tzhtaylor 2023-10-27 07:38:26 +00:00 committed by Gitee
parent f6defe8180
commit 5cf1d2f45e
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
1 changed files with 2 additions and 2 deletions

View File

@ -128,9 +128,9 @@ class BasicGenerator extends Generator {
if (fs.existsSync(fullpath)) {
this.traverseDirCapture(fullpath, dirCallback, fileCallback);
}
continue;
} else {
fileCallback(fullpath);
}
fileCallback(fullpath);
}
}