Skip to content

Commit 094b464

Browse files
committed
Change diagnosticsExport to not require full Config
1 parent d4ae756 commit 094b464

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>;
@@ -919,7 +919,7 @@ async function getCodeQLForCmd(
919919
async diagnosticsExport(
920920
sarifFile: string,
921921
automationDetailsId: string | undefined,
922-
config: Config,
922+
config: ActionConfig<"tempDir">,
923923
): Promise<void> {
924924
const args = [
925925
"diagnostics",

0 commit comments

Comments
 (0)