audit: minor spacing nit

Closes #248.

Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
This commit is contained in:
Dominyk Tiller 2016-05-16 18:46:47 +01:00
parent 2c6fa07e6d
commit 56375a7b44

View File

@ -74,9 +74,9 @@ module Homebrew
problem_count += fa.problems.size
problem_lines = fa.problems.map { |p| "* #{p.chomp.gsub("\n", "\n ")}" }
if ARGV.include? "--display-filename"
puts problem_lines.map { |s| "#{f.path}: #{s}"}
puts problem_lines.map { |s| "#{f.path}: #{s}" }
else
puts "#{f.full_name}:", problem_lines.map { |s| " #{s}"}
puts "#{f.full_name}:", problem_lines.map { |s| " #{s}" }
end
end