diff options
| author | Mike McQuaid | 2017-06-08 12:46:40 +0300 |
|---|---|---|
| committer | GitHub | 2017-06-08 12:46:40 +0300 |
| commit | 8b29a07cfafd6139c325bd8449a9d10ebcb89ca5 (patch) | |
| tree | c2d8fe274dbf95895db498c441cc329df0a1f47d /Library/Homebrew | |
| parent | 882f64169c33f9f8559495eeb717d78c57f2319f (diff) | |
| parent | 10549d13f485605ef695699dafc8d06175baf20f (diff) | |
| download | brew-8b29a07cfafd6139c325bd8449a9d10ebcb89ca5.tar.bz2 | |
Merge pull request #2750 from MikeMcQuaid/no-auto-update-no-report-issue-prompt
brew: no issue report prompt unless autoupdating.
Diffstat (limited to 'Library/Homebrew')
| -rw-r--r-- | Library/Homebrew/brew.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Library/Homebrew/brew.rb b/Library/Homebrew/brew.rb index 7222f7e87..1724bfa44 100644 --- a/Library/Homebrew/brew.rb +++ b/Library/Homebrew/brew.rb @@ -154,7 +154,8 @@ rescue MethodDeprecatedError => e rescue Exception => e Utils::Analytics.report_exception(e) onoe e - if internal_cmd && defined?(OS::ISSUES_URL) + if internal_cmd && defined?(OS::ISSUES_URL) && + !ENV["HOMEBREW_NO_AUTO_UPDATE"] $stderr.puts "#{Tty.bold}Please report this bug:#{Tty.reset}" $stderr.puts " #{Formatter.url(OS::ISSUES_URL)}" end |
