vscode-codeql
vscode-codeql copied to clipboard
Quick query uses incompatible codeql standard library.
Describe the bug
The extension supports a range of CLI versions.
When creating a quick-query, the created pack will favor the latest available pack for the language through the version specification *
. However, this pack might not be compatible with the current CodeQL CLI version.
Version CodeQL extension version: 1.13.0 CodeQL CLI version: 2.14.6 Platform: darwin x64
To reproduce
-
codeql pack download "codeql/cpp-all"
this downloads0.13.0
, the latest pack as of writing. - Create a quick-query using the extension.
- Since the CLI has version
2.14.6
this immediately triggers errors and the query cannot compile.
Expected behavior The quick-query should select a pack that is compatible with the current used CLI.
Additional context Add any other context about the problem here.
This only comes up when using an older CLI version.