Skip to content

Commit 74e8277

Browse files
Jami CogswellJami Cogswell
authored andcommitted
Run autofix for case when the repo result count does not exceed the fix limit
1 parent 3c7d9ca commit 74e8277

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

extensions/ql-vscode/src/variant-analysis/view-autofixes.ts

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -512,7 +512,17 @@ async function runAutofixForRepository(
512512
// TODO: run autofix for the i-th alert.
513513
}
514514
} else {
515-
// TODO: run autofix once for all alerts.
515+
// Run autofix once for all alerts.
516+
await runAutofixOnResults(
517+
logger,
518+
cocofixBin,
519+
sarifFile,
520+
srcRootPath,
521+
outputTextFilePath,
522+
fixDescriptionFilePath,
523+
transcriptFilePath,
524+
repoAutofixOutputStoragePath,
525+
);
516526
}
517527

518528
// Save output text files from each repo to later merge

0 commit comments

Comments
 (0)