diff options
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/cask/lib/hbc/utils.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Library/Homebrew/cask/lib/hbc/utils.rb b/Library/Homebrew/cask/lib/hbc/utils.rb index ef00104f9..fd786e318 100644 --- a/Library/Homebrew/cask/lib/hbc/utils.rb +++ b/Library/Homebrew/cask/lib/hbc/utils.rb @@ -37,8 +37,7 @@ def odebug(title, *sput) end def highlight_installed(token) - cask = Hbc.load(token) - if cask.installed? + if (Hbc.caskroom/token).directory? token = pretty_installed token end token |
