mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 07:59:02 +08:00
Merge pull request #20045 from Homebrew/fix-sharded-api
Fix sharded API structure to match existing API
This commit is contained in:
commit
68ef29fb5c
@ -71,7 +71,7 @@ module Homebrew
|
||||
File.write("_data/cask_canonical.json", "#{canonical_json}\n") unless args.dry_run?
|
||||
|
||||
OnSystem::VALID_OS_ARCH_TAGS.each do |bottle_tag|
|
||||
variation_casks = all_casks.transform_values do |cask|
|
||||
variation_casks = all_casks.map do |_, cask|
|
||||
Homebrew::API.merge_variations(cask, bottle_tag:)
|
||||
end
|
||||
|
||||
|
@ -69,7 +69,7 @@ module Homebrew
|
||||
File.write("_data/formula_canonical.json", "#{canonical_json}\n") unless args.dry_run?
|
||||
|
||||
OnSystem::VALID_OS_ARCH_TAGS.each do |bottle_tag|
|
||||
variation_formulae = all_formulae.transform_values do |formula|
|
||||
variation_formulae = all_formulae.map do |_, formula|
|
||||
Homebrew::API.merge_variations(formula, bottle_tag:)
|
||||
end
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user