mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-17 17:36:08 +08:00
judge: fix
This commit is contained in:
1 parent
cef1760076
commit
bf0b2b50c1
1 file changed
+1
-1
@@ -29,5 +29,5 @@ export async function compileChecker(getLang: Function, checkerType: string, che
|
||||
if (checkerType === 'testlib') copyIn['testlib.h'] = { src: testlibSrc };
|
||||
const file = await fs.readFile(checker);
|
||||
// TODO cache compiled checker
|
||||
return await compile(getLang(parseFilename(checker).split('.')[1].replace('@', '.'), file.toString(), 'checker', copyIn);
|
||||
return await compile(getLang(parseFilename(checker).split('.')[1].replace('@', '.')), file.toString(), 'checker', copyIn);
|
||||
}
|
||||
Reference in new issue
Block a user