Skip to content

Commit f7550c5

Browse files
committed
Merge branch 'qlhelp-preview' of https://github.com/mgsium/vscode-codeql into qlhelp-preview
2 parents 2a17532 + 2d832e9 commit f7550c5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

extensions/ql-vscode/src/extension.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -497,7 +497,7 @@ async function activateWithInstalledDistribution(
497497
async function previewQueryHelp(
498498
selectedQuery: Uri
499499
): Promise<void> {
500-
const pathToQhelp = selectedQuery ? selectedQuery.path : window.activeTextEditor!.document.uri.fsPath;
500+
const pathToQhelp = selectedQuery ? selectedQuery.fsPath : window.activeTextEditor!.document.uri.fsPath;
501501
if(pathToQhelp) {
502502
// Create temporary directory
503503
return tmp.dir().then(async o => {

0 commit comments

Comments
 (0)