Fix style
This commit is contained in:
parent
d4e5886571
commit
233cef08cf
@ -136,8 +136,8 @@ module Formulary
|
||||
class_s = Formulary.class_s(name)
|
||||
json_formula = Homebrew::API::Formula.all_formulae[name]
|
||||
|
||||
if (bottle_tag = Utils::Bottles.tag.to_s.presence) &&
|
||||
(variations = json_formula["variations"].presence) &&
|
||||
if (bottle_tag = Utils::Bottles.tag.to_s.presence) &&
|
||||
(variations = json_formula["variations"].presence) &&
|
||||
(variation = variations[bottle_tag].presence)
|
||||
json_formula = json_formula.merge(variation)
|
||||
end
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user