doctor: print check on --debug.

This commit is contained in:
Mike McQuaid 2016-08-16 11:16:37 +01:00
parent dffd556220
commit 984ed836bd

View File

@ -18,7 +18,6 @@ module Homebrew
exit
end
if ARGV.named.empty?
slow_checks = %w[
check_for_broken_symlinks
@ -33,6 +32,7 @@ module Homebrew
first_warning = true
methods.each do |method|
$stderr.puts "Checking #{method}" if ARGV.debug?
unless checks.respond_to?(method)
Homebrew.failed = true
puts "No check available by the name: #{method}"