core: remove deprecation

This commit is contained in:
undefined committed 2022-10-05 18:54:49 +08:00
1 parent 833b960a48
commit 9971967fd1
11 files changed
+47 -20

No files matched your search

+1 -1
View File
@@ -40,7 +40,7 @@ export async function apply(ctx: Context) {
await storage.loadStorageService();
await require('../service/server').apply(ctx);
// Make sure everything is ready and then start main entry
if (argv.options.watch) await ctx.loader.reloadPlugin(ctx, 'hydrooj/src/service/watcher', {});
if (argv.options.watch) ctx.plugin(require('../service/watcher').default, {});
await ctx.root.start();
require('../lib/index');
await lib(pending, fail, ctx);