Skip to content

Commit cf4c1ff

Browse files
committed
commands/.../scorecard: correct error logging
1 parent cdf83af commit cf4c1ff

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

commands/operator-sdk/cmd/scorecard/scorecard.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -244,8 +244,8 @@ func ScorecardTests(cmd *cobra.Command, args []string) error {
244244
for _, suite := range suites {
245245
for _, result := range suite.TestResults {
246246
for _, err := range result.Errors {
247-
// 33 is yellow (specifically, the same shade of yellow that logrus uses for warnings)
248-
fmt.Printf("\x1b[%dmSUGGESTION:\x1b[0m %s\n", 33, err)
247+
// 31 is red (specifically, the same shade of red that logrus uses for errors)
248+
fmt.Printf("\x1b[%dmERROR:\x1b[0m %s\n", 31, err)
249249
}
250250
}
251251
}

0 commit comments

Comments
 (0)