cmd/doctor: fix Rubocop warnings.

This commit is contained in:
Mike McQuaid 2016-09-10 10:24:56 +01:00
parent 5e0c222029
commit c45e36ffde

View File

@ -40,7 +40,7 @@ module Homebrew
end
out = checks.send(method)
unless out.nil? || out.empty?
next if out.nil? || out.empty?
if first_warning
$stderr.puts <<-EOS.undent
#{Tty.white}Please note that these warnings are just used to help the Homebrew maintainers
@ -54,7 +54,6 @@ module Homebrew
Homebrew.failed = true
first_warning = false
end
end
puts "Your system is ready to brew." unless Homebrew.failed?
end