aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd/install.rb
diff options
context:
space:
mode:
authorBaptiste Fontaine2016-01-04 23:14:58 +0100
committerBaptiste Fontaine2016-01-05 14:33:06 +0100
commit9f1442db14f8791c6563a701a094b4fc0c2c9b56 (patch)
tree0e6d759ea193b7b64e81eb8474711a462e305a20 /Library/Homebrew/cmd/install.rb
parent5d8a6e368f2c8fd5d2075cfb9dd8bb3928c2ac42 (diff)
downloadbrew-9f1442db14f8791c6563a701a094b4fc0c2c9b56.tar.bz2
doctor: move code away from cmd/
Closes Homebrew/homebrew#47665. Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
Diffstat (limited to 'Library/Homebrew/cmd/install.rb')
-rw-r--r--Library/Homebrew/cmd/install.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Homebrew/cmd/install.rb b/Library/Homebrew/cmd/install.rb
index dbd8f5c04..c2ef9a334 100644
--- a/Library/Homebrew/cmd/install.rb
+++ b/Library/Homebrew/cmd/install.rb
@@ -1,5 +1,5 @@
require "blacklist"
-require "cmd/doctor"
+require "diagnostic"
require "cmd/search"
require "formula_installer"
require "tap"
@@ -159,7 +159,7 @@ module Homebrew
end
def check_xcode
- checks = Checks.new
+ checks = Diagnostic::Checks.new
%w[
check_for_unsupported_osx
check_for_bad_install_name_tool