MCPcopy Create free account
hub / github.com/Marus/cortex-debug / telemetryEnabled

Function telemetryEnabled

src/reporting.ts:51–56  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

49}
50
51function telemetryEnabled(): boolean {
52 const telemetry = vscode.workspace.getConfiguration('telemetry');
53 const cortexDebug = vscode.workspace.getConfiguration('cortex-debug');
54
55 return (telemetry.enableTelemetry && cortexDebug.enableTelemetry);
56}
57
58function activate(context: vscode.ExtensionContext) {
59 if (!telemetryEnabled()) { return; }

Callers 5

activateFunction · 0.85
deactivateFunction · 0.85
sendEventFunction · 0.85
beginSessionFunction · 0.85
endSessionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected