mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-19 17:38:19 +08:00
util: fix lang config
This commit is contained in:
1 parent
a2004056ac
commit
9a90d0511c
2 files changed
+3
-4
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user