mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-19 17:38:19 +08:00
judge: bug fix (#462)
This commit is contained in:
1 parent
17def9cbb5
commit
f65aba6d27
3 files changed
+4
-4
No files matched your search
@@ -29,6 +29,6 @@
|
|||||||
// Comment out to connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root.
|
// Comment out to connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root.
|
||||||
"remoteUser": "root",
|
"remoteUser": "root",
|
||||||
"features": {
|
"features": {
|
||||||
"git": "latest"
|
"ghcr.io/devcontainers/features/git:1": {}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "@hydrooj/hydrojudge",
|
"name": "@hydrooj/hydrojudge",
|
||||||
"bin": "bin/hydrojudge.js",
|
"bin": "bin/hydrojudge.js",
|
||||||
"version": "3.1.6",
|
"version": "3.1.7",
|
||||||
"main": "package.json",
|
"main": "package.json",
|
||||||
"author": "undefined <i@undefined.moe>",
|
"author": "undefined <i@undefined.moe>",
|
||||||
"repository": "https://github.com/hydro-dev/Hydro.git",
|
"repository": "https://github.com/hydro-dev/Hydro.git",
|
||||||
|
|||||||
@@ -84,7 +84,7 @@ function proc(params: Parameter): Cmd {
|
|||||||
return {
|
return {
|
||||||
args: parseArgs(params.execute || ''),
|
args: parseArgs(params.execute || ''),
|
||||||
env: [
|
env: [
|
||||||
...getConfig('env').split('\n').map((i) => i.trim()).filter((i) => i.startsWith('#')),
|
...getConfig('env').split('\n').map((i) => i.trim()).filter((i) => !i.startsWith('#')),
|
||||||
...Object.entries(params.env || {}).map(([k, v]) => `${k}=${v.replace(/=/g, '\\=')}`),
|
...Object.entries(params.env || {}).map(([k, v]) => `${k}=${v.replace(/=/g, '\\=')}`),
|
||||||
],
|
],
|
||||||
files: [
|
files: [
|
||||||
|
|||||||
Reference in new issue
Block a user