core: loader: add missing inject

This commit is contained in:
undefined committed 2025-03-09 15:26:28 +08:00
1 parent 4c086db05c
commit a459b9a1fd
5 files changed
+15 -14

No files matched your search

+1 -1
View File
@@ -115,7 +115,7 @@ export async function load(ctx: Context) {
await ctx.plugin(ConfigService);
await require('../model/system').runConfig();
ctx = await new Promise((resolve) => {
ctx.inject(['loader'], (c) => {
ctx.inject(['loader', 'config'], (c) => {
resolve(c);
});
});