aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMike McQuaid2016-11-24 21:15:39 +0000
committerGitHub2016-11-24 21:15:39 +0000
commit62e0ecdaafbc6779205908c7ab191c884473afd6 (patch)
treebfa6dbaee404beb2207545e9e6528786b8793fa0 /Library
parent949a3b62e7340d1bc0eacbdfe3b29ea55ef2f86d (diff)
parent3c77faeb14886c30f8440c29101c6944aaf0bbdb (diff)
downloadbrew-62e0ecdaafbc6779205908c7ab191c884473afd6.tar.bz2
Merge pull request #1559 from MikeMcQuaid/unsupported-better-exceptions
exceptions: better handle unsupported macOS versions.
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/exceptions.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/exceptions.rb b/Library/Homebrew/exceptions.rb
index 3d9b24034..c2b78f878 100644
--- a/Library/Homebrew/exceptions.rb
+++ b/Library/Homebrew/exceptions.rb
@@ -356,7 +356,7 @@ class BuildError < RuntimeError
return
end
- if formula.tap
+ if formula.tap && defined?(OS::ISSUES_URL)
if formula.tap.official?
puts Formatter.error(Formatter.url(OS::ISSUES_URL), label: "READ THIS")
elsif issues_url = formula.tap.issues_url