Skip to content

Commit

Permalink
hide detail messages of IGNORE checkpoints (#31)
Browse files Browse the repository at this point in the history
  • Loading branch information
tomoyamachi authored Jun 16, 2019
1 parent 68388ab commit 3f5825b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions pkg/report/list.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,10 @@ func showTargetResult(assessmentType int, assessments []*types.Assessment) {
level = types.IgnoreLevel
}
showTitleLine(assessmentType, level)
for _, assessment := range assessments {
showDescription(assessment)
if level != types.IgnoreLevel {
for _, assessment := range assessments {
showDescription(assessment)
}
}
}

Expand Down

0 comments on commit 3f5825b

Please sign in to comment.