From e5961f2967ed6477b59874c8efcb67238f795b57 Mon Sep 17 00:00:00 2001 From: Robert Date: Mon, 12 Feb 2024 13:45:23 +0000 Subject: [PATCH] Use Record for additionalRunQueryArgs --- extensions/ql-vscode/src/query-server/query-runner.ts | 4 ++-- extensions/ql-vscode/src/query-server/run-queries.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/extensions/ql-vscode/src/query-server/query-runner.ts b/extensions/ql-vscode/src/query-server/query-runner.ts index 85dd0a394..166d149d2 100644 --- a/extensions/ql-vscode/src/query-server/query-runner.ts +++ b/extensions/ql-vscode/src/query-server/query-runner.ts @@ -130,7 +130,7 @@ export class QueryRunner { query: CoreQueryTarget, additionalPacks: string[], extensionPacks: string[] | undefined, - additionalRunQueryArgs: Record, + additionalRunQueryArgs: Record, generateEvalLog: boolean, outputDir: QueryOutputDir, progress: ProgressCallback, @@ -216,7 +216,7 @@ export class QueryRunner { generateEvalLog: boolean, additionalPacks: string[], extensionPacks: string[] | undefined, - additionalRunQueryArgs: Record, + additionalRunQueryArgs: Record, queryStorageDir: string, id = `${basename(query.queryPath)}-${nanoid()}`, templates: Record | undefined, diff --git a/extensions/ql-vscode/src/query-server/run-queries.ts b/extensions/ql-vscode/src/query-server/run-queries.ts index 8e20cee83..593979118 100644 --- a/extensions/ql-vscode/src/query-server/run-queries.ts +++ b/extensions/ql-vscode/src/query-server/run-queries.ts @@ -28,7 +28,7 @@ export async function compileAndRunQueryAgainstDatabaseCore( generateEvalLog: boolean, additionalPacks: string[], extensionPacks: string[] | undefined, - additionalRunQueryArgs: Record, + additionalRunQueryArgs: Record, outputDir: QueryOutputDir, progress: ProgressCallback, token: CancellationToken,