core: feedback: ignore CI environment

This commit is contained in:
undefined committed 2022-08-16 22:44:18 +08:00
1 parent 400d0f10af
commit 98bf0d62a3
2 files changed
+2 -1

No files matched your search

+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "hydrooj", "name": "hydrooj",
"version": "3.15.11", "version": "3.15.12",
"bin": "bin/hydrooj.js", "bin": "bin/hydrooj.js",
"main": "src/loader", "main": "src/loader",
"module": "src/loader", "module": "src/loader",
+1
View File
@@ -61,6 +61,7 @@ export async function feedback(): Promise<[string, StatusUpdate]> {
return value; return value;
}, },
})); }));
if (process.env.CI) return [mid, $update];
superagent.post(`${system.get('server.center')}/report`) superagent.post(`${system.get('server.center')}/report`)
.send({ installId, payload }) .send({ installId, payload })
.then((res) => { .then((res) => {