judge: add HYDRO_PRETEST env to analysis

This commit is contained in:
undefined committed 2022-03-28 01:30:26 +08:00
1 parent 76984d985c
commit 592774c091
2 files changed
+5 -1

No files matched your search

+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "@hydrooj/hydrojudge",
"bin": "bin/hydrojudge.js",
"version": "2.15.1",
"version": "2.15.2",
"main": "package.json",
"author": "undefined <i@undefined.moe>",
"repository": "https://github.com/hydro-dev/Hydro.git",
+4
View File
@@ -91,6 +91,10 @@ export const judge = async (ctx: Context) => {
compile: { content: langConfig.compile },
execute: { content: langConfig.execute },
},
env: {
...ctx.env,
HYDRO_PRETEST: 'true',
},
time: 5000,
memory: 256,
}).then((r) => {