Skip to content

Commit

Permalink
cmd/lib/ci_matrix: use default hash syntax.
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeMcQuaid committed Mar 7, 2024
1 parent dac9a34 commit f38b1c9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/lib/ci_matrix.rb
Original file line number Diff line number Diff line change
Expand Up @@ -179,8 +179,8 @@ def self.generate(tap, labels: [], cask_names: [], skip_install: false, new_cask

cask_content = path.read

runners, multi_os = runners(cask_content: cask_content)
runners.product(architectures(cask_content: cask_content)).filter_map do |runner, arch|
runners, multi_os = runners(cask_content:)
runners.product(architectures(cask_content:)).filter_map do |runner, arch|
native_runner_arch = arch == runner.fetch(:arch)
# If it's just a single OS test then we can just use the two real arch runners.
next if !native_runner_arch && !multi_os
Expand Down

0 comments on commit f38b1c9

Please sign in to comment.