Skip to content

Commit b6fa1cd

Browse files
author
Alexander Eyers-Taylor
committed
Add quick eval count context.
1 parent 95bbed3 commit b6fa1cd

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

  • extensions/ql-vscode/src/codeql-cli

extensions/ql-vscode/src/codeql-cli/cli.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1483,6 +1483,13 @@ export class CodeQLCliServer implements Disposable {
14831483
CliVersionConstraint.CLI_VERSION_WITH_PER_QUERY_EVAL_LOG,
14841484
) >= 0,
14851485
);
1486+
await this.app.commands.execute(
1487+
"setContext",
1488+
"codeql.supportsQuickEvalCount",
1489+
newVersion.compare(
1490+
CliVersionConstraint.CLI_VERSION_WITH_QUICK_EVAL_COUNT,
1491+
) >= 0,
1492+
);
14861493
} catch (e) {
14871494
this._versionChangedListeners.forEach((listener) =>
14881495
listener(undefined),

0 commit comments

Comments
 (0)