Skip to content

Commit e49458b

Browse files
committed
Fix runInterpretResultsFor using the wrong AnalysisConfig for category fix
1 parent f374a62 commit e49458b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/analyze-action.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/analyze.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -780,7 +780,7 @@ export async function runQueries(
780780
// If this is a Code Quality analysis, correct the category to one
781781
// accepted by the Code Quality backend.
782782
let category = automationDetailsId;
783-
if (dbAnalysisConfig.kind === analyses.AnalysisKind.CodeQuality) {
783+
if (analysis.kind === analyses.AnalysisKind.CodeQuality) {
784784
category = fixCodeQualityCategory(logger, automationDetailsId);
785785
}
786786

0 commit comments

Comments
 (0)