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