Skip to content

Commit

Permalink
Merge pull request #35 from aquasecurity/liamg-add-missing-avd-id
Browse files Browse the repository at this point in the history
Add missing avd
  • Loading branch information
liamg authored Dec 16, 2021
2 parents ff1b05e + 812cb1e commit f0b52a7
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion formatters/default.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,10 @@ func printResult(res rules.Result, i int, includePassedChecks bool) {
resultHeader := fmt.Sprintf(" <underline>Result %d</underline>\n", i+1)

var severityFormatted string
if includePassedChecks && res.Status() == rules.StatusPassed {
if res.Status() == rules.StatusPassed {
if !includePassedChecks {
return
}
terminal.PrintSuccessf(resultHeader)
severityFormatted = tml.Sprintf("<green>PASSED</green>")
} else {
Expand Down

0 comments on commit f0b52a7

Please sign in to comment.