Skip to content

Commit

Permalink
formula_installer: update syntax of maximum macOS check
Browse files Browse the repository at this point in the history
  • Loading branch information
EricFromCanada committed Sep 1, 2021
1 parent fb8d679 commit 176b53b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Library/Homebrew/formula_installer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -501,7 +501,7 @@ def check_requirements(req_map)

req_map.each_pair do |dependent, reqs|
reqs.each do |req|
next if dependent.latest_version_installed? && req.name == "maximummacos"
next if dependent.latest_version_installed? && req.name == "macos" && req.comparator == "<="

@requirement_messages << "#{dependent}: #{req.message}"
fatals << req if req.fatal?
Expand Down

0 comments on commit 176b53b

Please sign in to comment.