Skip to content

Commit e81d585

Browse files
Swap arguments so command arg comes last
1 parent 7571304 commit e81d585

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

extensions/ql-vscode/src/extension.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1274,7 +1274,7 @@ async function activateWithInstalledDistribution(
12741274

12751275
ctx.subscriptions.push(
12761276
commandRunner("codeQL.previewQueryHelp", async (selectedQuery: Uri) => {
1277-
await previewQueryHelp(cliServer, selectedQuery, qhelpTmpDir);
1277+
await previewQueryHelp(cliServer, qhelpTmpDir, selectedQuery);
12781278
}),
12791279
);
12801280

@@ -1842,8 +1842,8 @@ async function compileAndRunQueryOnMultipleDatabases(
18421842

18431843
async function previewQueryHelp(
18441844
cliServer: CodeQLCliServer,
1845-
selectedQuery: Uri,
18461845
qhelpTmpDir: DirResult,
1846+
selectedQuery: Uri,
18471847
): Promise<void> {
18481848
// selectedQuery is unpopulated when executing through the command palette
18491849
const pathToQhelp = selectedQuery

0 commit comments

Comments
 (0)