Skip to content

Commit 018e9c0

Browse files
authored
Merge pull request #252 from jcreedcmu/jcreed/version-filter
Relax CLI version constraint to allow minor version increases
2 parents 2c4cf1b + 585b694 commit 018e9c0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

extensions/ql-vscode/src/distribution.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,9 @@ const DEFAULT_DISTRIBUTION_REPOSITORY_NAME = "codeql-cli-binaries";
3939
* This applies to both extension-managed and CLI distributions.
4040
*/
4141
export const DEFAULT_DISTRIBUTION_VERSION_CONSTRAINT: VersionConstraint = {
42-
description: "2.0.*",
42+
description: "2.*.*",
4343
isVersionCompatible: (v: Version) => {
44-
return v.majorVersion === 2 && v.minorVersion === 0
44+
return v.majorVersion === 2 && v.minorVersion >= 0
4545
}
4646
}
4747

0 commit comments

Comments
 (0)