bug fixes

This commit is contained in:
undefined committed 2025-03-16 23:28:05 +08:00
1 parent f5eab3b87b
commit 0b03b17fc8
6 files changed
+19 -19

No files matched your search

+2 -1
View File
@@ -10,7 +10,7 @@ import { load } from '../options';
import { MongoService } from '../service/db';
import { ConfigService } from '../settings';
import {
addon, builtinModel, locale, model, service,
addon, builtinModel, locale, model, service, setting,
} from './common';
const argv = cac().parse();
@@ -58,6 +58,7 @@ export async function apply(ctx: Context) {
await service(pending, fail, ctx);
await builtinModel(ctx);
await model(pending, fail, ctx);
await setting(pending, fail, require('../model/setting'));
const handlerDir = path.resolve(__dirname, '..', 'handler');
const handlers = await fs.readdir(handlerDir);