Updated highlight_installed to use Cask.installed?
This commit is contained in:
parent
f93fd970d5
commit
4472daec2f
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user