Skip to content

Commit

Permalink
remove return
Browse files Browse the repository at this point in the history
  • Loading branch information
rbren committed Jun 21, 2021
1 parent 0cd25c8 commit 50fdf2a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cmd/polaris/audit.go
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ func ProcessHelmTemplates(helmChart string) (string, error) {
return dir, nil
}

func outputAudit(auditData validator.AuditData, outputFile, outputURL, outputFormat string, useColor bool, onlyShowFailedTests bool) validator.AuditData {
func outputAudit(auditData validator.AuditData, outputFile, outputURL, outputFormat string, useColor bool, onlyShowFailedTests bool) {
if onlyShowFailedTests {
auditData = auditData.RemoveSuccessfulResults()
}
Expand Down Expand Up @@ -203,5 +203,4 @@ func outputAudit(auditData validator.AuditData, outputFile, outputURL, outputFor
}
}
}
return auditData
}

0 comments on commit 50fdf2a

Please sign in to comment.