diff --git a/Library/Homebrew/os.rb b/Library/Homebrew/os.rb index b49bbff644..f6fe1eb811 100644 --- a/Library/Homebrew/os.rb +++ b/Library/Homebrew/os.rb @@ -13,7 +13,10 @@ module OS if OS.mac? require "os/mac" - ISSUES_URL = "https://git.io/brew-troubleshooting".freeze + # Don't tell people to report issues on unsupported versions of macOS. + if !OS::Mac.prerelease? && !OS::Mac.outdated_release? + ISSUES_URL = "https://git.io/brew-troubleshooting".freeze + end PATH_OPEN = "/usr/bin/open".freeze # compatibility ::MACOS_FULL_VERSION = OS::Mac.full_version.to_s.freeze