Fix #101288
This commit is contained in:
parent
77e39ac316
commit
55afb516aa
|
@ -193,7 +193,7 @@ export class ExtensionManagementService extends Disposable implements IExtension
|
|||
this._onInstallExtension.fire({ identifier, zipPath });
|
||||
return this.getGalleryMetadata(getGalleryExtensionId(manifest.publisher, manifest.name))
|
||||
.then(
|
||||
metadata => this.installFromZipPath(identifierWithVersion, zipPath, { ...metadata, isMachineScoped }, operation, token),
|
||||
metadata => this.installFromZipPath(identifierWithVersion, zipPath, isMachineScoped ? { ...metadata, isMachineScoped } : metadata, operation, token),
|
||||
() => this.installFromZipPath(identifierWithVersion, zipPath, isMachineScoped ? { isMachineScoped } : undefined, operation, token))
|
||||
.then(
|
||||
local => { this.logService.info('Successfully installed the extension:', identifier.id); return local; },
|
||||
|
|
Loading…
Reference in a new issue