mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01: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.monaco = entry.monaco || entry.highlight;
|
||||||
entry.time_limit_rate = entry.time_limit_rate || 1;
|
entry.time_limit_rate = entry.time_limit_rate || 1;
|
||||||
entry.code_file = entry.code_file || `foo.${key}`;
|
entry.code_file = entry.code_file || `foo.${key}`;
|
||||||
// eslint-disable-next-line no-template-curly-in-string
|
entry.execute = entry.execute || '/w/foo';
|
||||||
entry.execute = entry.execute || '${dir}/${name}';
|
|
||||||
entry.key = key;
|
entry.key = key;
|
||||||
}
|
}
|
||||||
return file;
|
return file;
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@hydrooj/utils",
|
"name": "@hydrooj/utils",
|
||||||
"version": "1.1.13",
|
"version": "1.1.14",
|
||||||
"description": "hydrooj utils",
|
"description": "hydrooj utils",
|
||||||
"main": "package.json",
|
"main": "package.json",
|
||||||
"repository": "https://github.com/hydro-dev/Hydro.git",
|
"repository": "https://github.com/hydro-dev/Hydro.git",
|
||||||
@@ -12,7 +12,7 @@
|
|||||||
"js-yaml": "^4.1.0",
|
"js-yaml": "^4.1.0",
|
||||||
"moment": "^2.29.1",
|
"moment": "^2.29.1",
|
||||||
"mongodb": "^3.7.3",
|
"mongodb": "^3.7.3",
|
||||||
"systeminformation": "^5.11.2"
|
"systeminformation": "^5.11.3"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/fs-extra": "^9.0.13",
|
"@types/fs-extra": "^9.0.13",
|
||||||
|
|||||||
Reference in new issue
Block a user