diff options
| author | commitay | 2017-11-03 08:37:06 +1000 |
|---|---|---|
| committer | commitay | 2017-11-03 08:37:10 +1000 |
| commit | a8788015b69c5525efe2cd47ba67c1e6950d1526 (patch) | |
| tree | ff0885b78845d11a75b239ca64fe9ac9ddf604a0 /Library/Homebrew | |
| parent | 0ac55875c5bd80687e7418995d6d9a485a8c032f (diff) | |
| download | brew-a8788015b69c5525efe2cd47ba67c1e6950d1526.tar.bz2 | |
Cask doctor: add macOS & Java versions
Diffstat (limited to 'Library/Homebrew')
| -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 |
