We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 161c5de commit e23699fCopy full SHA for e23699f
extensions/ql-vscode/src/variant-analysis/view-autofixes.ts
@@ -144,9 +144,10 @@ async function overrideQueryHelp(
144
if (!(await pathExists(queryFilePath))) {
145
throw new Error(`Query file used by variant analysis not found.`);
146
}
147
+ const parsedQueryFilePath = parse(queryFilePath);
148
const queryFilePathNoExt = join(
- dirname(queryFilePath),
149
- parse(queryFilePath).name,
+ parsedQueryFilePath.dir,
150
+ parsedQueryFilePath.name,
151
);
152
153
// Get the path to the query help, which may be either a `.qhelp` or a `.md` file.
0 commit comments