Skip to content
Snippets Groups Projects
Commit 49910398 authored by Mike McQuaid's avatar Mike McQuaid
Browse files

keg: resolve rack aliases correctly.

Don't use the basename but instead use the Formulary logic for rack
formula resolution.

Fixes #2288.
parent 9105acab
No related branches found
No related tags found
No related merge requests found
......@@ -466,7 +466,7 @@ class Keg
end
def aliases
Formula[rack.basename.to_s].aliases
Formulary.from_rack(rack).aliases
rescue FormulaUnavailableError
[]
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