Skip to content
This repository was archived by the owner on Sep 17, 2021. It is now read-only.

Commit ce08c49

Browse files
committed
Fix debug telemetry reporter
1 parent 3ca0072 commit ce08c49

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/extension.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ export function activate(context: vscode.ExtensionContext) {
2222
telemetryReporter = new TelemetryReporter(packageInfo.name, packageInfo.version, packageInfo.aiKey);
2323
} else {
2424
// Fallback to a fake telemetry reporter
25-
telemetryReporter = new DebugTelemetryReporter('', '', '');
25+
telemetryReporter = new DebugTelemetryReporter();
2626
}
2727
context.subscriptions.push(telemetryReporter);
2828

@@ -355,8 +355,8 @@ class DevToolsPanel {
355355
}
356356

357357
class DebugTelemetryReporter extends TelemetryReporter {
358-
constructor(extensionId: string, extensionVersion: string, key: string) {
359-
super(extensionId, extensionVersion, key);
358+
constructor() {
359+
super('extensionId', 'extensionVersion', 'key');
360360
}
361361

362362
public sendTelemetryEvent(name: string, properties?: any, measurements?: any) {

0 commit comments

Comments
 (0)