diff options
| author | Baptiste Fontaine | 2016-01-04 23:14:58 +0100 | 
|---|---|---|
| committer | Baptiste Fontaine | 2016-01-05 14:33:06 +0100 | 
| commit | 9f1442db14f8791c6563a701a094b4fc0c2c9b56 (patch) | |
| tree | 0e6d759ea193b7b64e81eb8474711a462e305a20 /Library/Homebrew/exceptions.rb | |
| parent | 5d8a6e368f2c8fd5d2075cfb9dd8bb3928c2ac42 (diff) | |
| download | brew-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/exceptions.rb')
| -rw-r--r-- | Library/Homebrew/exceptions.rb | 4 | 
1 files changed, 2 insertions, 2 deletions
| 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 | 
