singular/plural phrasing in audit report
Closes Homebrew/homebrew#40395. Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
This commit is contained in:
parent
df7dd903cd
commit
d87f9d4359
@ -46,7 +46,9 @@ module Homebrew
|
||||
end
|
||||
|
||||
unless problem_count.zero?
|
||||
ofail "#{problem_count} problems in #{formula_count} formulae"
|
||||
problems = "problem" + plural(problem_count)
|
||||
formulae = "formula" + plural(formula_count, "e")
|
||||
ofail "#{problem_count} #{problems} in #{formula_count} #{formulae}"
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user