in lib/gdk/command/doctor.rb [13:31]
def run(args = [])
unless installed?
out.warn("GDK has not been installed so cannot run 'gdk doctor'. Try running `gem install gitlab-development-kit` again.")
return false
end
@should_autocorrect = args.intersect?(['--correct', '-correct', '-C'])
return false unless start_necessary_services
show_results(diagnostic_results)
return 2 if @unexpected_error
handle_correctable_results(correctable_results)
return 2 if @unexpected_error
diagnostic_results.empty?
end