Skip to content

Commit e8b7739

Browse files
authored
Merge pull request #21041 from Homebrew/no_report_method_deprecated_error
brew.rb: don't tell users to report internal deprecations.
2 parents 2a62482 + 965d808 commit e8b7739

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Library/Homebrew/brew.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@
195195
elsif (issues_url = (method_deprecated_error && e.issues_url) || Utils::Backtrace.tap_error_url(e))
196196
$stderr.puts "If reporting this issue please do so at (not Homebrew/* repositories):"
197197
$stderr.puts " #{Formatter.url(issues_url)}"
198-
elsif internal_cmd
198+
elsif internal_cmd && !method_deprecated_error
199199
$stderr.puts "#{Tty.bold}Please report this issue:#{Tty.reset}"
200200
$stderr.puts " #{Formatter.url(OS::ISSUES_URL)}"
201201
end

0 commit comments

Comments
 (0)