Skip to content

Commit 2d832e9

Browse files
mgsiumshati-patel
andauthored
Update extensions/ql-vscode/src/extension.ts
Co-authored-by: Shati Patel <42641846+shati-patel@users.noreply.github.com>
1 parent dc1767b commit 2d832e9

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)