Fixes issues with SQL Bindings vscode dev (#18695)

* fixes issues with vscode development
This commit is contained in:
Vasu Bhog
2022-03-10 15:37:23 -08:00
committed by GitHub
parent 364684c79e
commit f424bea0de
3 changed files with 17 additions and 4 deletions

View File

@@ -2,14 +2,13 @@
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the Source EULA. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import * as vscode from 'vscode';
import AdsTelemetryReporter from '@microsoft/ads-extension-telemetry';
import { getPackageInfo } from './utils';
const packageInfo = vscode.extensions.getExtension('Microsoft.sql-bindings')?.packageJSON;
const packageInfo = getPackageInfo()!;
export const TelemetryReporter = new AdsTelemetryReporter(packageInfo.name, packageInfo.version, packageInfo.aiKey);
export enum TelemetryViews {
SqlBindingsQuickPick = 'SqlBindingsQuickPick'
}