Fix ci_matrix.rb.

This commit is contained in:
Markus Reiter
2021-01-08 05:00:38 +01:00
committed by GitHub
parent 200cc95846
commit c40e5bd092
+1 -1
View File
@@ -20,7 +20,7 @@ module CiMatrix
cask_content = path.read
if cask_content.match?(/\bMacOS\s*\.version\b/m) &&
RUNNERS.keys.none? { cask_content.include?(runner[:symbol].inspect) }
RUNNERS.keys.none? { |runner| cask_content.include?(runner[:symbol].inspect) }
# If the cask depends on `MacOS.version`, test it on every possible macOS version.
RUNNERS.keys
else