Fix keg version in Formula#to_hash
Closes Homebrew/homebrew#28550. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This commit is contained in:
parent
23400ec217
commit
eed3368039
@ -469,8 +469,9 @@ class Formula
|
||||
}
|
||||
|
||||
if rack.directory?
|
||||
rack.subdirs.each do |keg|
|
||||
tab = Tab.for_keg keg
|
||||
rack.subdirs.each do |keg_path|
|
||||
keg = Keg.new keg_path
|
||||
tab = Tab.for_keg keg_path
|
||||
|
||||
hsh["installed"] << {
|
||||
"version" => keg.version.to_s,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user