We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7571304 commit e81d585Copy full SHA for e81d585
1 file changed
extensions/ql-vscode/src/extension.ts
@@ -1274,7 +1274,7 @@ async function activateWithInstalledDistribution(
1274
1275
ctx.subscriptions.push(
1276
commandRunner("codeQL.previewQueryHelp", async (selectedQuery: Uri) => {
1277
- await previewQueryHelp(cliServer, selectedQuery, qhelpTmpDir);
+ await previewQueryHelp(cliServer, qhelpTmpDir, selectedQuery);
1278
}),
1279
);
1280
@@ -1842,8 +1842,8 @@ async function compileAndRunQueryOnMultipleDatabases(
1842
1843
async function previewQueryHelp(
1844
cliServer: CodeQLCliServer,
1845
- selectedQuery: Uri,
1846
qhelpTmpDir: DirResult,
+ selectedQuery: Uri,
1847
): Promise<void> {
1848
// selectedQuery is unpopulated when executing through the command palette
1849
const pathToQhelp = selectedQuery
0 commit comments