mirror of
https://github.com/wavetermdev/homebrew-cask.git
synced 2026-08-05 13:43:24 -07:00
Fix ci_matrix.rb.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user