diff options
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 | 
