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;
+2 -2
View File
@@ -1,6 +1,6 @@
{
"name": "@hydrooj/utils",
"version": "1.1.13",
"version": "1.1.14",
"description": "hydrooj utils",
"main": "package.json",
"repository": "https://github.com/hydro-dev/Hydro.git",
@@ -12,7 +12,7 @@
"js-yaml": "^4.1.0",
"moment": "^2.29.1",
"mongodb": "^3.7.3",
"systeminformation": "^5.11.2"
"systeminformation": "^5.11.3"
},
"devDependencies": {
"@types/fs-extra": "^9.0.13",