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 <alexsimonjones@gmail.com>
  • Loading branch information
AlexsJones authored Jul 15, 2024
1 parent 4366ad9 commit b6dd2a1
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 b6dd2a1

Please sign in to comment.