util: fix lang config

This commit is contained in:
undefined committed 2022-02-25 12:23:50 +08:00
1 parent a2004056ac
commit 9a90d0511c
2 files changed
+3 -4

No files matched your search

+1 -2
View File
@@ -39,8 +39,7 @@ export function parseLang(config: string): Record<string, LangConfig> {
entry.monaco = entry.monaco || entry.highlight;
entry.time_limit_rate = entry.time_limit_rate || 1;
entry.code_file = entry.code_file || `foo.${key}`;
// eslint-disable-next-line no-template-curly-in-string
entry.execute = entry.execute || '${dir}/${name}';
entry.execute = entry.execute || '/w/foo';
entry.key = key;
}
return file;