Skip to content

Commit

Permalink
feat: fix the custom-analysis printing (#1195)
Browse files Browse the repository at this point in the history
Signed-off-by: Alex Jones <[email protected]>
Signed-off-by: AlexsJones <[email protected]>
  • Loading branch information
AlexsJones committed Oct 24, 2024
1 parent 4e125f1 commit 096f433
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/analysis/analysis.go
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,8 @@ func (a *Analysis) RunCustomAnalysis() {

result, err := canClient.Run()
if err != nil {
a.Errors = append(a.Errors, fmt.Sprintf("[%s] %s", cAnalyzer.Name, err))
} else {
a.Results = append(a.Results, result)
}
}
Expand Down

0 comments on commit 096f433

Please sign in to comment.