Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

utils/gems: fix Sonoma compatibility check #16109

Merged
merged 1 commit into from
Oct 12, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions Library/Homebrew/utils/gems.rb
Original file line number Diff line number Diff line change
Expand Up @@ -235,9 +235,9 @@

valid_user_gem_groups = user_gem_groups & valid_gem_groups
if RUBY_PLATFORM.end_with?("-darwin23")
raise "Sorbet is not currently supported under system Ruby on macOS Sonoma." if groups.include?("sorbet")
raise "Sorbet is not currently supported under system Ruby on macOS Sonoma." if groups.include?("typecheck")

valid_user_gem_groups.delete("sorbet")
valid_user_gem_groups.delete("typecheck")

Check warning on line 240 in Library/Homebrew/utils/gems.rb

View check run for this annotation

Codecov / codecov/patch

Library/Homebrew/utils/gems.rb#L240

Added line #L240 was not covered by tests
end

# Combine the passed groups with the ones stored in settings
Expand Down