Skip to content

Commit 47ae0fe

Browse files
committed
Fix incorrect supported CLI version warning
1 parent 9d6b4e8 commit 47ae0fe

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

extensions/ql-vscode/src/extension.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -446,8 +446,9 @@ export async function activate(
446446
}
447447

448448
if (
449-
CliVersionConstraint.OLDEST_SUPPORTED_CLI_VERSION.compare(ver.version) <
450-
0
449+
CliVersionConstraint.OLDEST_SUPPORTED_CLI_VERSION.compare(
450+
ver.version,
451+
) <= 0
451452
) {
452453
return;
453454
}

0 commit comments

Comments
 (0)