os: don't tell people to report unsupported version issues.

This commit is contained in:
Mike McQuaid 2016-11-05 10:58:19 -04:00
parent 6c9ca906af
commit c7de142800

View File

@ -13,7 +13,10 @@ module OS
if OS.mac? if OS.mac?
require "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 PATH_OPEN = "/usr/bin/open".freeze
# compatibility # compatibility
::MACOS_FULL_VERSION = OS::Mac.full_version.to_s.freeze ::MACOS_FULL_VERSION = OS::Mac.full_version.to_s.freeze