diff options
author | Sandeep Somavarapu <sasomava@microsoft.com> | 2022-07-27 16:32:53 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-27 16:32:53 +0300 |
commit | 079c49ed1277fc42d8a49823dc6fbab473223503 (patch) | |
tree | e61e2ae1875e05c9f4b46c0cc333cad980a4fd31 /src/vs | |
parent | 241c77020385e27ead8398ae02a9aed2ee7fd160 (diff) |
fix the printed installed extension version (#156422)
Diffstat (limited to 'src/vs')
-rw-r--r-- | src/vs/platform/extensionManagement/common/extensionManagementCLIService.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vs/platform/extensionManagement/common/extensionManagementCLIService.ts b/src/vs/platform/extensionManagement/common/extensionManagementCLIService.ts index b36b6ea904d..65b2cea1af6 100644 --- a/src/vs/platform/extensionManagement/common/extensionManagementCLIService.ts +++ b/src/vs/platform/extensionManagement/common/extensionManagementCLIService.ts @@ -223,8 +223,8 @@ export class ExtensionManagementCLIService implements IExtensionManagementCLISer output.log(version ? localize('installing with version', "Installing extension '{0}' v{1}...", id, version) : localize('installing', "Installing extension '{0}'...", id)); } - await this.extensionManagementService.installFromGallery(galleryExtension, { ...installOptions, installGivenVersion: !!version }); - output.log(localize('successInstall', "Extension '{0}' v{1} was successfully installed.", id, galleryExtension.version)); + const local = await this.extensionManagementService.installFromGallery(galleryExtension, { ...installOptions, installGivenVersion: !!version }); + output.log(localize('successInstall', "Extension '{0}' v{1} was successfully installed.", id, local.manifest.version)); return manifest; } catch (error) { if (isCancellationError(error)) { |