judge: fix

This commit is contained in:
undefined committed 2021-07-07 20:17:46 +08:00
1 parent cef1760076
commit bf0b2b50c1
1 file changed
+1 -1
+1 -1
View File
@@ -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);
}