We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1499259 commit 168f4e2Copy full SHA for 168f4e2
src/utils/telemetry/report-error.mjs
@@ -3,6 +3,8 @@ import { dirname, join } from 'path'
3
import process, { version as nodejsVersion } from 'process'
4
import { fileURLToPath } from 'url'
5
6
+import { isCI } from 'ci-info'
7
+
8
import execa from '../execa.mjs'
9
import getGlobalConfig from '../get-global-config.mjs'
10
@@ -19,6 +21,10 @@ const dirPath = dirname(fileURLToPath(import.meta.url))
19
21
* @returns {Promise<void>}
20
22
*/
23
export const reportError = async function (error, config = {}) {
24
+ if (isCI) {
25
+ return
26
+ }
27
28
const globalConfig = await getGlobalConfig()
29
30
const options = JSON.stringify({
0 commit comments