From f38b1c9e96291a8fc6625aa57bf697f619029561 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Thu, 7 Mar 2024 17:50:48 +0000 Subject: [PATCH] cmd/lib/ci_matrix: use default hash syntax. For https://github.com/Homebrew/brew/pull/16848 --- cmd/lib/ci_matrix.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/lib/ci_matrix.rb b/cmd/lib/ci_matrix.rb index d04998ae11..381588159b 100644 --- a/cmd/lib/ci_matrix.rb +++ b/cmd/lib/ci_matrix.rb @@ -179,8 +179,8 @@ module CiMatrix 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