mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-27 12:04:04 +01:00
Consume proposed telemetry API (#165862)
* Consume proposed telemetry API * Update webpack
This commit is contained in:
@@ -9,7 +9,7 @@ import TelemetryReporter from '@vscode/extension-telemetry';
|
||||
|
||||
export async function activate(context: vscode.ExtensionContext) {
|
||||
const { name, version, aiKey } = context.extension.packageJSON as { name: string; version: string; aiKey: string };
|
||||
const telemetryReporter = new TelemetryReporter(name, version, aiKey);
|
||||
const telemetryReporter = new TelemetryReporter(aiKey);
|
||||
|
||||
const loginService = new AzureActiveDirectoryService(context);
|
||||
await loginService.initialize();
|
||||
|
||||
Reference in New Issue
Block a user