Fix extension gallery engine version check (#21000)

* Fix extension gallery engine version check

* disable extension scanner tests

* edit tag
This commit is contained in:
Charles Gagnon
2022-10-26 22:46:03 -07:00
committed by GitHub
parent 39e9018b7c
commit 8534b12ee5
6 changed files with 27 additions and 15 deletions

View File

@@ -585,7 +585,7 @@ export class WebExtensionsScannerService extends Disposable implements IWebExten
const uuid = (<IGalleryMetadata | undefined>webExtension.metadata)?.id;
validations.push(...validateExtensionManifest(this.productService.version, this.productService.date, webExtension.location, manifest, false));
validations.push(...validateExtensionManifest(this.productService.version, this.productService.vscodeVersion, this.productService.date, webExtension.location, manifest, false)); // {{SQL CARBON EDIT}} Add vs code version so we can compare both engines
let isValid = true;
for (const [severity, message] of validations) {
if (severity === Severity.Error) {