From d6d3bd9b3adbef35ceb9d7f6ba8028f96c6361fa Mon Sep 17 00:00:00 2001 From: Markus Reiter Date: Wed, 7 Apr 2021 23:56:09 +0200 Subject: [PATCH] Fix runner selection. (#103370) --- cmd/lib/ci_matrix.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/lib/ci_matrix.rb b/cmd/lib/ci_matrix.rb index 07a0037d5f..3464236657 100644 --- a/cmd/lib/ci_matrix.rb +++ b/cmd/lib/ci_matrix.rb @@ -20,7 +20,7 @@ module CiMatrix cask_content = path.read if cask_content.match?(/\bMacOS\s*\.version\b/m) && - RUNNERS.keys.none? { |runner| cask_content.include?(runner[:symbol].inspect) } + RUNNERS.keys.any? { |runner| cask_content.include?(runner[:symbol].inspect) } # If the cask depends on `MacOS.version`, test it on every possible macOS version. RUNNERS.keys else