mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00
os: don't tell people to report unsupported version issues.
This commit is contained in:
parent
6c9ca906af
commit
c7de142800
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user