Skip to content
Snippets Groups Projects
Commit 70f22fc3 authored by Jack Nagel's avatar Jack Nagel
Browse files

Use canonical_name in the exception message

parent cfd02fd4
No related branches found
No related tags found
No related merge requests found
......@@ -35,7 +35,7 @@ module HomebrewArgvExtension
elsif (prefix = Formulary.factory(canonical_name).prefix).directory?
Keg.new(prefix)
else
raise MultipleVersionsInstalledError.new(name)
raise MultipleVersionsInstalledError.new(canonical_name)
end
rescue FormulaUnavailableError
raise <<-EOS.undent
......
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