Failed to run query in vscode extension, but cli worked #18639
Unanswered
yuxiaolejs
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I ran into a strange situation where my vscode extension complains about the
library path
even after me runningcodeql pack install
(which shows nothing to download), and refused to run any queries. However, if I run the same query on the same database using CLI commandcodeql query run --database=/codeql_create_db.database_dir alloc_const.ql
, it will work properly and give the expected output. What might be wrong?FYI this is how I configured codeql:
codeql-bundle-linux64.tar.gz
archive.codeql
directory into/opt/codeql
/opt/codeql
to my path (later for debugging I added it to the path of/etc/environment
codeql
command is working.Beta Was this translation helpful? Give feedback.
All reactions