api: fix merge_variations
This commit is contained in:
parent
bb4f41ea43
commit
51329635d9
@ -163,7 +163,7 @@ module Homebrew
|
||||
arch: Homebrew::SimulateSystem.current_arch)
|
||||
|
||||
if (variations = json["variations"].presence) &&
|
||||
(variation = variations[bottle_tag].presence)
|
||||
(variation = variations[bottle_tag.to_s].presence)
|
||||
json = json.merge(variation)
|
||||
end
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user