aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/cask/lib/hbc/utils.rb2
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