MCPcopy
hub / github.com/prisma/prisma / isTelemetryDisabled

Function isTelemetryDisabled

packages/cli/src/bootstrap/telemetry.ts:5–7  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3import type { ProjectState } from './project-state'
4
5function isTelemetryDisabled(): boolean {
6 return Boolean(process.env.CHECKPOINT_DISABLE)
7}
8
9const eventCapture = new PosthogEventCapture(PUBLIC_POSTHOG_BOOTSTRAP_ACTIVATION_PROJECT_KEY)
10

Callers 5

emitFlowStartedFunction · 0.85
emitStepCompletedFunction · 0.85
emitStepSkippedFunction · 0.85
emitStepFailedFunction · 0.85
emitFlowCompletedFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected