Skip to content

Commit

Permalink
Be more clear on the CLI that we're showing compliance controls
Browse files Browse the repository at this point in the history
Controls alone is too generic of a heading.

Signed-off-by: Tim Smith <[email protected]>
  • Loading branch information
tas50 committed Nov 8, 2023
1 parent d9adc44 commit 3518712
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/reporter/print_compact.go
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,7 @@ func (r *defaultReporter) printAssetControls(resolved *policy.ResolvedPolicy, re
return scores[i].QrId < scores[j].QrId
})

r.out.Write([]byte("Controls:" + NewLineCharacter))
r.out.Write([]byte("Compliance controls:" + NewLineCharacter))

Check failure on line 398 in cli/reporter/print_compact.go

View workflow job for this annotation

GitHub Actions / golangci-lint

Error return value of `r.out.Write` is not checked (errcheck)

for i := range scores {
score := scores[i]
Expand Down

0 comments on commit 3518712

Please sign in to comment.