From 317f264e1f59264b7f18cfaa42f4642f755257cc Mon Sep 17 00:00:00 2001 From: "Michael B. Gale" Date: Mon, 12 Oct 2026 11:51:58 +0100 Subject: [PATCH] Change `diagnosticsExport` to not require full `Config` --- src/codeql.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/codeql.ts b/src/codeql.ts index 99ffd6951..68273d27b 100644 --- a/src/codeql.ts +++ b/src/codeql.ts @@ -198,7 +198,7 @@ export interface CodeQL { diagnosticsExport( sarifFile: string, automationDetailsId: string | undefined, - config: Config, + config: ActionConfig<"tempDir">, ): Promise; /** Get the location of an extractor for the specified language. */ resolveExtractor(language: Language): Promise; @@ -914,7 +914,7 @@ async function getCodeQLForCmd( async diagnosticsExport( sarifFile: string, automationDetailsId: string | undefined, - config: Config, + config: ActionConfig<"tempDir">, ): Promise { const args = [ "diagnostics",