core: fix ci

This commit is contained in:
undefined committed 2025-03-07 12:37:12 +08:00
1 parent 31b4ed73f4
commit bb4c1ac74f
3 files changed
+32 -24

No files matched your search

+1 -1
View File
@@ -111,7 +111,7 @@ export async function load(ctx: Context) {
require('../service/bus').apply(ctx);
const pending = global.addons;
const fail = [];
await ctx.plugin(MongoService, loadOptions());
await ctx.plugin(MongoService, loadOptions() || {});
await ctx.plugin(ConfigService);
await require('../model/system').runConfig();
ctx = await new Promise((resolve) => {