style&&chore: lint

This commit is contained in:
手瓜一十雪 committed 2024-08-14 00:47:50 +08:00
1 parent 516838c521
commit 26ffec43fe
10 files changed
+118 -118

No files matched your search

+1 -1
View File
@@ -19,7 +19,7 @@ export let webUiPathWrapper: NapCatPathWrapper;
export async function InitWebUi(logger: LogWrapper, pathWrapper: NapCatPathWrapper) {
webUiPathWrapper = pathWrapper;
WebUiConfig = new WebUiConfigWrapper();
let log = logger.log.bind(logger);
const log = logger.log.bind(logger);
const config = await WebUiConfig.GetWebUIConfig();
if (config.port == 0) {
log('[NapCat] [WebUi] Current WebUi is not run.');