Fix rubocop

Signed-off-by: Miah Johnson <miah@chia-pet.org>
This commit is contained in:
Miah Johnson 2019-05-09 00:16:07 -07:00 committed by Clinton Wolfe
parent b148bc85a2
commit 72f02e6cac

View file

@ -124,7 +124,7 @@ class Inspec::InspecCLI < Inspec::BaseCLI
else
%w{location profile controls timestamp valid}.each do |item|
prepared_string = format('%-12s %s',
("#{item.to_s.capitalize} :"),
"#{item.to_s.capitalize} :",
result[:summary][item.to_sym])
ui.plain_line(prepared_string)
end