core: feedback: ignore CI environment

pull/375/head^2
undefined 2 years ago
parent 400d0f10af
commit 98bf0d62a3

@ -1,6 +1,6 @@
{
"name": "hydrooj",
"version": "3.15.11",
"version": "3.15.12",
"bin": "bin/hydrooj.js",
"main": "src/loader",
"module": "src/loader",

@ -61,6 +61,7 @@ export async function feedback(): Promise<[string, StatusUpdate]> {
return value;
},
}));
if (process.env.CI) return [mid, $update];
superagent.post(`${system.get('server.center')}/report`)
.send({ installId, payload })
.then((res) => {

Loading…
Cancel
Save