diff options
| author | Nath Tumlin | 2017-03-11 16:21:18 -0800 |
|---|---|---|
| committer | Nath Tumlin | 2017-03-11 16:21:18 -0800 |
| commit | 4472daec2f0e98214cb0337ec9411ed62d700082 (patch) | |
| tree | ff3f431f42d5a66ec78c0cf351d11460bb892d0e /Library | |
| parent | f93fd970d59c097a7bc55ba88ccdb90cd68a845b (diff) | |
| download | brew-4472daec2f0e98214cb0337ec9411ed62d700082.tar.bz2 | |
Updated highlight_installed to use Cask.installed?
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/cask/lib/hbc/utils.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cask/lib/hbc/utils.rb b/Library/Homebrew/cask/lib/hbc/utils.rb index fd786e318..32db3c261 100644 --- a/Library/Homebrew/cask/lib/hbc/utils.rb +++ b/Library/Homebrew/cask/lib/hbc/utils.rb @@ -37,7 +37,7 @@ def odebug(title, *sput) end def highlight_installed(token) - if (Hbc.caskroom/token).directory? + if Hbc::Cask.new(token).installed? token = pretty_installed token end token |
