diff --git a/Library/Homebrew/cask/lib/hbc/cli/search.rb b/Library/Homebrew/cask/lib/hbc/cli/search.rb index cc86576325..68d7257557 100644 --- a/Library/Homebrew/cask/lib/hbc/cli/search.rb +++ b/Library/Homebrew/cask/lib/hbc/cli/search.rb @@ -54,7 +54,7 @@ module Hbc end def self.highlight_installed(token) - if Hbc::Cask.new(token).installed? + if Cask.new(token).installed? token = pretty_installed token end token