Skip to content

Commit 317f264

Browse files
committed
Change diagnosticsExport to not require full Config
1 parent 309f6af commit 317f264

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎src/codeql.ts‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ export interface CodeQL {
198198
diagnosticsExport(
199199
sarifFile: string,
200200
automationDetailsId: string | undefined,
201-
config: Config,
201+
config: ActionConfig<"tempDir">,
202202
): Promise<void>;
203203
/** Get the location of an extractor for the specified language. */
204204
resolveExtractor(language: Language): Promise<string>;
@@ -914,7 +914,7 @@ async function getCodeQLForCmd(
914914
async diagnosticsExport(
915915
sarifFile: string,
916916
automationDetailsId: string | undefined,
917-
config: Config,
917+
config: ActionConfig<"tempDir">,
918918
): Promise<void> {
919919
const args = [
920920
"diagnostics",

0 commit comments

Comments
 (0)