mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 18:46:40 -05:00
Fix error when installing extensions from gallery (#20012)
* Fix error when installing extensions from gallery * update
This commit is contained in:
@@ -112,12 +112,14 @@ export abstract class AbstractExtensionManagementService extends Disposable impl
|
|||||||
throw error;
|
throw error;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* {{SQL CARBON EDIT}} Remove this check as we don't want to enforce the manifest versions matching since those are often coming directly from the main branch
|
||||||
if (manifest.version !== extension.version) {
|
if (manifest.version !== extension.version) {
|
||||||
const error = new ExtensionManagementError(`Cannot install '${extension.identifier.id}' extension because of version mismatch in Marketplace`, ExtensionManagementErrorCode.Invalid);
|
const error = new ExtensionManagementError(`Cannot install '${extension.identifier.id}' extension because of version mismatch in Marketplace`, ExtensionManagementErrorCode.Invalid);
|
||||||
this.logService.error(error.message);
|
this.logService.error(error.message);
|
||||||
reportTelemetry(this.telemetryService, 'extensionGallery:install', getGalleryExtensionTelemetryData(extension), undefined, error);
|
reportTelemetry(this.telemetryService, 'extensionGallery:install', getGalleryExtensionTelemetryData(extension), undefined, error);
|
||||||
throw error;
|
throw error;
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
return this.installExtension(manifest, extension, options);
|
return this.installExtension(manifest, extension, options);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user