diff options
author | Sandeep Somavarapu <sasomava@microsoft.com> | 2022-03-16 08:28:51 +0300 |
---|---|---|
committer | Sandeep Somavarapu <sasomava@microsoft.com> | 2022-03-16 08:56:38 +0300 |
commit | 4f9381f1e316915ab750d50448b5c306eb2a5f73 (patch) | |
tree | e22d6d0730a8fe121d067047cd2cc104ee077f91 /src/vs/platform/extensionManagement/node/extensionManagementService.ts | |
parent | 6fa3243d3facbbf8b87222bcf4e81c5eddf5d47f (diff) |
check target platform while handling outdated extensions
Diffstat (limited to 'src/vs/platform/extensionManagement/node/extensionManagementService.ts')
-rw-r--r-- | src/vs/platform/extensionManagement/node/extensionManagementService.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vs/platform/extensionManagement/node/extensionManagementService.ts b/src/vs/platform/extensionManagement/node/extensionManagementService.ts index daa4309b2c7..bf50663f8db 100644 --- a/src/vs/platform/extensionManagement/node/extensionManagementService.ts +++ b/src/vs/platform/extensionManagement/node/extensionManagementService.ts @@ -66,7 +66,7 @@ export class ExtensionManagementService extends AbstractExtensionManagementServi ) { super(galleryService, telemetryService, logService, productService); const extensionLifecycle = this._register(instantiationService.createInstance(ExtensionsLifecycle)); - this.extensionsScanner = this._register(instantiationService.createInstance(ExtensionsScanner, extension => extensionLifecycle.postUninstall(extension))); + this.extensionsScanner = this._register(instantiationService.createInstance(ExtensionsScanner, extension => extensionLifecycle.postUninstall(extension), this.getTargetPlatform())); this.manifestCache = this._register(new ExtensionsManifestCache(environmentService, this)); this.extensionsDownloader = this._register(instantiationService.createInstance(ExtensionsDownloader)); const extensionsWatcher = this._register(new ExtensionsWatcher(this, fileService, environmentService, logService, uriIdentityService)); |