Skip to content

Commit

Permalink
ci
Browse files Browse the repository at this point in the history
  • Loading branch information
eternauta1337 committed Mar 22, 2024
1 parent 96ec7bb commit a4a7a87
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/ethernaut-common/src/error/telemetry.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,16 @@ const storage = require('ethernaut-common/src/io/storage')
const prompt = require('ethernaut-common/src/ui/prompt')
const Sentry = require('@sentry/node')
const debug = require('ethernaut-common/src/ui/debug')
const { isRunningOnCiServer } = require('hardhat/internal/util/ci-detection')

let _consent
let _sentryInitialized

function queryTelemetryConsent() {
if (isRunningOnCiServer()) {
return
}

const config = storage.readConfig()

if (!config.general) {
Expand Down

0 comments on commit a4a7a87

Please sign in to comment.