mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
core: skip telemetry in ci
This commit is contained in:
1 parent
78e898fdfc
commit
c77d81817d
1 file changed
+1
-1
@@ -95,7 +95,7 @@ export async function updateJudge(args) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export async function apply(ctx: Context) {
|
export async function apply(ctx: Context) {
|
||||||
if (process.env.NODE_APP_INSTANCE !== '0') return;
|
if (process.env.NODE_APP_INSTANCE !== '0' || process.env.CI) return;
|
||||||
const info = await sysinfo.get();
|
const info = await sysinfo.get();
|
||||||
coll.updateOne(
|
coll.updateOne(
|
||||||
{ mid: info.mid, type: 'server' },
|
{ mid: info.mid, type: 'server' },
|
||||||
|
|||||||
Reference in new issue
Block a user