mirror of
https://github.com/inspec/inspec
synced 2025-02-16 14:08:36 +00:00
Linting
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
This commit is contained in:
parent
9d531b68de
commit
2ebd890533
1 changed files with 2 additions and 2 deletions
|
@ -126,9 +126,9 @@ module Inspec::Formatters
|
|||
elsif control_has_all_tests_skipped(control)
|
||||
{ name: "Not Reviewed", abbrev: "N/R" }
|
||||
elsif control[:results].any? { |r| r[:status] == "failed" }
|
||||
{ name: "Failed", abbrev: "fail"}
|
||||
{ name: "Failed", abbrev: "fail" }
|
||||
else
|
||||
{ name: "Passed", abbrev: "pass"}
|
||||
{ name: "Passed", abbrev: "pass" }
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue