mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-24 02:28:34 +01:00
bring back version to prevent breaking change to the api
This commit is contained in:
@@ -57,6 +57,7 @@ export class ExtHostAPIImplementation {
|
||||
private _pluginService: IPluginService;
|
||||
private _telemetryService: ITelemetryService;
|
||||
|
||||
version: typeof vscode.version;
|
||||
env: typeof vscode.env;
|
||||
Uri: typeof vscode.Uri;
|
||||
Location: typeof vscode.Location;
|
||||
@@ -102,9 +103,9 @@ export class ExtHostAPIImplementation {
|
||||
this._telemetryService = telemetryService;
|
||||
this._proxy = threadService.getRemotable(MainProcessVSCodeAPIHelper);
|
||||
|
||||
this.version = contextService.getConfiguration().env.version;
|
||||
this._telemetryService.getTelemetryInfo().then((info) => {
|
||||
this.env = {
|
||||
version:contextService.getConfiguration().env.version,
|
||||
machineId: info.machineId,
|
||||
sessionId: info.sessionId,
|
||||
locale: null
|
||||
|
||||
Reference in New Issue
Block a user