Skip to content
Snippets Groups Projects
Commit 62addcfc authored by Misty De Meo's avatar Misty De Meo
Browse files

uninstall: improve grammar for multiple version message

parent be59b4ea
No related branches found
No related tags found
No related merge requests found
......@@ -15,8 +15,9 @@ module Homebrew
rack = keg/".."
if rack.directory?
versions = rack.subdirs.map(&:basename).join(", ")
puts "#{keg.name} #{versions} are still installed."
versions = rack.subdirs.map(&:basename)
verb = versions.length == 1 ? "is" : "are"
puts "#{keg.name} #{versions.join(", ")} #{verb} still installed."
puts "Remove them all with `brew uninstall --force #{keg.name}`."
end
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment