diff options
| author | Markus Reiter | 2017-11-22 10:32:17 +0100 |
|---|---|---|
| committer | GitHub | 2017-11-22 10:32:17 +0100 |
| commit | a869ce014394a0b1e97e74e71c7472e42aa26d04 (patch) | |
| tree | 59e128ea026faf5a874de58a5a1fc0f424294461 /Library | |
| parent | 9e93720e8fddcf3e2184af966a9471b3f0d906be (diff) | |
| parent | a8788015b69c5525efe2cd47ba67c1e6950d1526 (diff) | |
| download | brew-a869ce014394a0b1e97e74e71c7472e42aa26d04.tar.bz2 | |
Merge pull request #3371 from commitay/cask-doctor
Cask doctor: add macOS & Java versions
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/cask/lib/hbc/cli/doctor.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Library/Homebrew/cask/lib/hbc/cli/doctor.rb b/Library/Homebrew/cask/lib/hbc/cli/doctor.rb index cd6ebbc12..d7bcf1537 100644 --- a/Library/Homebrew/cask/lib/hbc/cli/doctor.rb +++ b/Library/Homebrew/cask/lib/hbc/cli/doctor.rb @@ -1,3 +1,5 @@ +require "system_config" + module Hbc class CLI class Doctor < AbstractCommand @@ -9,6 +11,8 @@ module Hbc def run ohai "Homebrew-Cask Version", Hbc.full_version + ohai "macOS", MacOS.full_version + ohai "Java", SystemConfig.describe_java ohai "Homebrew-Cask Install Location", self.class.render_install_location ohai "Homebrew-Cask Staging Location", self.class.render_staging_location(Hbc.caskroom) ohai "Homebrew-Cask Cached Downloads", self.class.render_cached_downloads |
