cmd/doctor: fix Rubocop warnings.
This commit is contained in:
parent
5e0c222029
commit
c45e36ffde
@ -40,7 +40,7 @@ module Homebrew
|
|||||||
end
|
end
|
||||||
|
|
||||||
out = checks.send(method)
|
out = checks.send(method)
|
||||||
unless out.nil? || out.empty?
|
next if out.nil? || out.empty?
|
||||||
if first_warning
|
if first_warning
|
||||||
$stderr.puts <<-EOS.undent
|
$stderr.puts <<-EOS.undent
|
||||||
#{Tty.white}Please note that these warnings are just used to help the Homebrew maintainers
|
#{Tty.white}Please note that these warnings are just used to help the Homebrew maintainers
|
||||||
@ -54,7 +54,6 @@ module Homebrew
|
|||||||
Homebrew.failed = true
|
Homebrew.failed = true
|
||||||
first_warning = false
|
first_warning = false
|
||||||
end
|
end
|
||||||
end
|
|
||||||
|
|
||||||
puts "Your system is ready to brew." unless Homebrew.failed?
|
puts "Your system is ready to brew." unless Homebrew.failed?
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user