brew.rb: check issues url properly.

This commit is contained in:
Mike McQuaid 2016-05-08 17:02:02 +01:00
parent 9e7b8c61a9
commit 549c86dfe2

View File

@ -141,7 +141,7 @@ rescue RuntimeError, SystemCallError => e
rescue Exception => e
Utils::Analytics.report_exception(e)
onoe e
if internal_cmd && defined?(ISSUES_URL)
if internal_cmd && defined?(OS::ISSUES_URL)
$stderr.puts "#{Tty.white}Please report this bug:"
$stderr.puts " #{Tty.em}#{OS::ISSUES_URL}#{Tty.reset}"
end