diff options
author | Sandeep Somavarapu <sasomava@microsoft.com> | 2021-11-03 16:05:16 +0300 |
---|---|---|
committer | Sandeep Somavarapu <sasomava@microsoft.com> | 2021-11-03 16:05:36 +0300 |
commit | 1944e5d1335c5f298df5330371df1f7a7cd085d4 (patch) | |
tree | 4c721d54ec51931ef5691583fad576786cea354c /src/vs/platform/extensionManagement/node/extensionManagementService.ts | |
parent | 435410dbf85bc228142306bc7ac475afde0993bd (diff) |
Fix #135935
Diffstat (limited to 'src/vs/platform/extensionManagement/node/extensionManagementService.ts')
-rw-r--r-- | src/vs/platform/extensionManagement/node/extensionManagementService.ts | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/vs/platform/extensionManagement/node/extensionManagementService.ts b/src/vs/platform/extensionManagement/node/extensionManagementService.ts index 2d60b7a4010..79815e14283 100644 --- a/src/vs/platform/extensionManagement/node/extensionManagementService.ts +++ b/src/vs/platform/extensionManagement/node/extensionManagementService.ts @@ -38,6 +38,7 @@ import { IInstantiationService } from 'vs/platform/instantiation/common/instanti import { ILogService } from 'vs/platform/log/common/log'; import { IProductService } from 'vs/platform/product/common/productService'; import { ITelemetryService } from 'vs/platform/telemetry/common/telemetry'; +import { IUriIdentityService } from 'vs/platform/uriIdentity/common/uriIdentity'; interface InstallableExtension { zipPath: string; @@ -59,14 +60,15 @@ export class ExtensionManagementService extends AbstractExtensionManagementServi @IDownloadService private downloadService: IDownloadService, @IInstantiationService instantiationService: IInstantiationService, @IFileService private readonly fileService: IFileService, - @IProductService productService: IProductService + @IProductService productService: IProductService, + @IUriIdentityService uriIdentityService: IUriIdentityService ) { super(galleryService, telemetryService, logService, productService); const extensionLifecycle = this._register(instantiationService.createInstance(ExtensionsLifecycle)); this.extensionsScanner = this._register(instantiationService.createInstance(ExtensionsScanner, extension => extensionLifecycle.postUninstall(extension))); 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)); + const extensionsWatcher = this._register(new ExtensionsWatcher(this, fileService, environmentService, logService, uriIdentityService)); this._register(extensionsWatcher.onDidChangeExtensionsByAnotherSource(({ added, removed }) => { if (added.length) { |