doctor: print check on --debug.
This commit is contained in:
parent
dffd556220
commit
984ed836bd
@ -18,7 +18,6 @@ module Homebrew
|
|||||||
exit
|
exit
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
if ARGV.named.empty?
|
if ARGV.named.empty?
|
||||||
slow_checks = %w[
|
slow_checks = %w[
|
||||||
check_for_broken_symlinks
|
check_for_broken_symlinks
|
||||||
@ -33,6 +32,7 @@ module Homebrew
|
|||||||
|
|
||||||
first_warning = true
|
first_warning = true
|
||||||
methods.each do |method|
|
methods.each do |method|
|
||||||
|
$stderr.puts "Checking #{method}" if ARGV.debug?
|
||||||
unless checks.respond_to?(method)
|
unless checks.respond_to?(method)
|
||||||
Homebrew.failed = true
|
Homebrew.failed = true
|
||||||
puts "No check available by the name: #{method}"
|
puts "No check available by the name: #{method}"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user