We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c206fb0 commit dcf92ccCopy full SHA for dcf92cc
src/client/telemetry/telemetry.ts
@@ -8,14 +8,15 @@
8
import { extensions } from 'vscode';
9
// tslint:disable-next-line:import-name
10
import TelemetryReporter from 'vscode-extension-telemetry';
11
+import { PVSC_EXTENSION_ID } from '../common/constants';
12
13
// tslint:disable-next-line:no-any
14
let telemetryReporter: TelemetryReporter;
15
export function getTelemetryReporter() {
16
if (telemetryReporter) {
17
return telemetryReporter;
18
}
- const extensionId = 'ms-python.python';
19
+ const extensionId = PVSC_EXTENSION_ID;
20
// tslint:disable-next-line:no-non-null-assertion
21
const extension = extensions.getExtension(extensionId)!;
22
// tslint:disable-next-line:no-unsafe-any
0 commit comments