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
View File
@@ -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) => {