mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
fix ci build
This commit is contained in:
1 parent
be82131210
commit
d6287b15b1
2 files changed
+2
-3
No files matched your search
+2
-2
@@ -18,7 +18,7 @@
|
|||||||
"build:ui:dev:https": "node packages/ui-default/build --iconfont && node --trace-deprecation packages/ui-default/build --dev --https",
|
"build:ui:dev:https": "node packages/ui-default/build --iconfont && node --trace-deprecation packages/ui-default/build --dev --https",
|
||||||
"build:ui:production": "cross-env NODE_OPTIONS=--max_old_space_size=8192 node packages/ui-default/build --iconfont && node packages/ui-default/build --production",
|
"build:ui:production": "cross-env NODE_OPTIONS=--max_old_space_size=8192 node packages/ui-default/build --iconfont && node packages/ui-default/build --production",
|
||||||
"build:ui:production:webpack": "cross-env NODE_OPTIONS=--max_old_space_size=8192 node packages/ui-default/build --production",
|
"build:ui:production:webpack": "cross-env NODE_OPTIONS=--max_old_space_size=8192 node packages/ui-default/build --production",
|
||||||
"test": "node -r @hydrooj/register packages/utils/tests/subtask.spec.ts && node test/entry.js",
|
"test": "node -r @hydrooj/register packages/common/tests/subtask.spec.ts && node test/entry.js",
|
||||||
"benchmark": "cross-env BENCHMARK=true node test/entry.js",
|
"benchmark": "cross-env BENCHMARK=true node test/entry.js",
|
||||||
"lint": "eslint packages plugins modules --ext .ts,.tsx,.jsx --fix",
|
"lint": "eslint packages plugins modules --ext .ts,.tsx,.jsx --fix",
|
||||||
"lint:ci": "eslint packages plugins modules --ext .ts,.tsx,.jsx --max-warnings=0",
|
"lint:ci": "eslint packages plugins modules --ext .ts,.tsx,.jsx --max-warnings=0",
|
||||||
@@ -51,7 +51,7 @@
|
|||||||
"fs-extra": "^11.3.0",
|
"fs-extra": "^11.3.0",
|
||||||
"globby": "^14.0.2",
|
"globby": "^14.0.2",
|
||||||
"inspectpack": "^4.7.1",
|
"inspectpack": "^4.7.1",
|
||||||
"mongodb-memory-server": "9.4.1",
|
"mongodb-memory-server": "10.1.3",
|
||||||
"nyc": "^17.1.0",
|
"nyc": "^17.1.0",
|
||||||
"ora": "^8.2.0",
|
"ora": "^8.2.0",
|
||||||
"package-json": "^10.0.1",
|
"package-json": "^10.0.1",
|
||||||
|
|||||||
@@ -13,7 +13,6 @@ import { compilerVersions, stackSize as getStackSize } from '../info';
|
|||||||
import { Session } from '../interface';
|
import { Session } from '../interface';
|
||||||
import log from '../log';
|
import log from '../log';
|
||||||
import { JudgeTask } from '../task';
|
import { JudgeTask } from '../task';
|
||||||
import { Lock } from '../utils';
|
|
||||||
|
|
||||||
function removeNixPath(text: string) {
|
function removeNixPath(text: string) {
|
||||||
return text.replace(/\/nix\/store\/[a-z0-9]{32}-/g, '/nix/');
|
return text.replace(/\/nix\/store\/[a-z0-9]{32}-/g, '/nix/');
|
||||||
|
|||||||
Reference in new issue
Block a user