aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorNath Tumlin2017-03-11 16:21:18 -0800
committerNath Tumlin2017-03-11 16:21:18 -0800
commit4472daec2f0e98214cb0337ec9411ed62d700082 (patch)
treeff3f431f42d5a66ec78c0cf351d11460bb892d0e /Library
parentf93fd970d59c097a7bc55ba88ccdb90cd68a845b (diff)
downloadbrew-4472daec2f0e98214cb0337ec9411ed62d700082.tar.bz2
Updated highlight_installed to use Cask.installed?
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