Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"CodeQL: Open Referenced File" command fails on Windows #970

Closed
mgsium opened this issue Oct 11, 2021 · 0 comments · Fixed by #979
Closed

"CodeQL: Open Referenced File" command fails on Windows #970

mgsium opened this issue Oct 11, 2021 · 0 comments · Fixed by #979
Assignees
Labels
bug Something isn't working VSCode

Comments

@mgsium
Copy link
Contributor

mgsium commented Oct 11, 2021

Describe the bug
The command CodeQL: Open Referenced File fails on Windows due to an erroneous leading / on the file path pointing to the ql file. This is likely due to a bad conversion between URI and file path.

Version
Extension v1.5.5
CodeQL CLI v2.6.2
Version: 1.60.2

To reproduce
Run the CodeQL: Open Referenced File command on a windows machine.

Expected behavior
The referenced ql file should open in the editor without error.

Additional context
This issue was originally part of #921 , sequestered due to its complexity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working VSCode
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant