mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-17 09:36:08 +08:00
judge: fix cac load (#1158)
This commit is contained in:
1 parent
ca2fb9457a
commit
bbcaa61d64
1 file changed
+1
-1
@@ -1,6 +1,6 @@
|
||||
#!/usr/bin/env node
|
||||
|
||||
const argv = require('cac')().cac().parse();
|
||||
const argv = require('cac').cac().parse();
|
||||
require('@hydrooj/register');
|
||||
|
||||
if (argv.args[0] === 'cache') require('../src/cache')();
|
||||
|
||||
Reference in new issue
Block a user