From 5347a6d73b5ab05469ca4be34153ef2a349f95eb Mon Sep 17 00:00:00 2001 From: Rylan Polster Date: Wed, 29 Jun 2022 13:58:53 -0400 Subject: [PATCH] `ci_matrix`: check `MacOSVersions::SYMBOLS` (#126796) --- 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 81ec7b6023..f1afccbf3e 100644 --- a/cmd/lib/ci_matrix.rb +++ b/cmd/lib/ci_matrix.rb @@ -37,7 +37,7 @@ module CiMatrix # Preform same checks as `brew install` would required_macos = if args.count > 1 { versions: args, comparator: "==" } - elsif MacOS::Version::SYMBOLS.key?(args.first) + elsif MacOSVersions::SYMBOLS.key?(args.first) { versions: [args.first], comparator: "==" } elsif /^\s*(?<|>|[=<>]=)\s*:?(?\S+)\s*$/ =~ args.first { versions: [version.to_sym], comparator: comparator }