-
Notifications
You must be signed in to change notification settings - Fork 229
CodeQL CLI enter path to executable creates odd query failures #2199
Copy link
Copy link
Closed
Labels
Description
Describe the bug
CodeQL extension shows red error squiggles but is able to execute query.
This happens to me specifically when:
- I have some CLI version already in the User space (2.10.5) - not sure if this part is relevant.
- I download a bundle version of CodeQL CLI (2.12.2)
- I update the workspace CodeQL path from empty to the 2.12.2 path
- open any query that I am working on , and the query shows the red errors, with the following message, but still executes.
Additionally , reload window does make the error squiggles go away , but then the query actually becomes un-runnable, seemingly no matter what else is done.
Version
The CodeQL and VS Code version in which the bug occurs.
CodeQL version: 2.12.2
CodeQL extension version: 1.8.0
To reproduce
listed above.
sample query:
import java
from Expr e
select e
sample qlpack.yml:
name: testworkshop
version: 0.0.0
dependencies:
codeql/java-all: "*"
Expected behavior
No red squiggles present. and for reload window to not mysteriously break the environment.
Additional context
Add any other context about the problem here.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Type
Fields
Give feedbackNo fields configured for issues without a type.

