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

@@ -52,3 +52,6 @@ export const invalidArgumentsError = localize('vscodeInvalidArgumentsError', "In
export const docCreationFailedError = localize('vscodeDocCreationFailedError', "Failed to create notebook document.");
export const cellToolbarCompatibilityMessage = localize('notebook.cellToolbarLocation.compatibilityDescription', "Where the cell toolbar should be shown, or whether it should be hidden. Note: This setting is only enabled for extension compatibility purposes, and so does not affect anything.");
export const docNotFoundForUriError = localize('docNotFoundForUriError', 'Could not open a notebook document for the specified URI.');
export function versionSyntax(engine: string, version: string): string { return localize('sql.versionSyntax', "Could not parse `{0}` value {1}. Please use, for example: ^1.22.0, ^1.22.x, etc.", engine, version) }
export function versionMismatch(currentVersion: string, requestedVersion: string): string { return localize('sql.versionMismatch', "Extension is not compatible with Azure Data Studio {0}. Extension requires: {1}.", currentVersion, requestedVersion); }
export function versionMismatchVsCode(currentVersion: string, requestedVersion: string, supportedVersion: string): string { return localize('sql.versionMismatchVsCode', "Extension is not compatible with Azure Data Studio {0}. Extension requires a newer VS Code Engine Version {1}, which is newer than what is currently supported ({2}).", currentVersion, requestedVersion, supportedVersion); }