core: fix util import

This commit is contained in:
undefined committed 2021-08-20 12:27:36 +08:00
1 parent 8f404b5904
commit 42f920d25c
2 files changed
+1 -2

No files matched your search

-1
View File
@@ -1 +0,0 @@
export * from '../packages/hydrooj/src/loader';
+1 -1
View File
@@ -17,6 +17,7 @@ import cache from 'koa-static-cache';
import sockjs from 'sockjs';
import cac from 'cac';
import { createHash } from 'crypto';
import { parseMemoryMB } from '@hydrooj/utils/lib/utils';
import * as bus from './bus';
import { errorMessage } from '../utils';
import { User, DomainDoc } from '../interface';
@@ -36,7 +37,6 @@ import blacklist from '../model/blacklist';
import token from '../model/token';
import * as opcount from '../model/opcount';
import { PERM, PRIV } from '../model/builtin';
import { parseMemoryMB } from '../../../utils/lib/utils';
const argv = cac().parse();
const logger = new Logger('server');