Updated highlight_installed to use Cask.installed?

This commit is contained in:
Nath Tumlin 2017-03-11 16:21:18 -08:00
parent f93fd970d5
commit 4472daec2f

View File

@ -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