From 9f1442db14f8791c6563a701a094b4fc0c2c9b56 Mon Sep 17 00:00:00 2001 From: Baptiste Fontaine Date: Mon, 4 Jan 2016 23:14:58 +0100 Subject: doctor: move code away from cmd/ Closes Homebrew/homebrew#47665. Signed-off-by: Baptiste Fontaine --- Library/Homebrew/exceptions.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Library/Homebrew/exceptions.rb') diff --git a/Library/Homebrew/exceptions.rb b/Library/Homebrew/exceptions.rb index ad4e600f6..7e6103a39 100644 --- a/Library/Homebrew/exceptions.rb +++ b/Library/Homebrew/exceptions.rb @@ -265,8 +265,8 @@ class BuildError < RuntimeError puts issues.map { |i| "#{i["title"]} #{i["html_url"]}" }.join("\n") end - require "cmd/doctor" - unsupported_osx = Checks.new.check_for_unsupported_osx + require "diagnostic" + unsupported_osx = Diagnostic::Checks.new.check_for_unsupported_osx opoo unsupported_osx if unsupported_osx end end -- cgit v1.2.3