diff options
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/cask/lib/hbc/cli/list.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Homebrew/cask/lib/hbc/cli/list.rb b/Library/Homebrew/cask/lib/hbc/cli/list.rb index 330c81b90..4094b3d38 100644 --- a/Library/Homebrew/cask/lib/hbc/cli/list.rb +++ b/Library/Homebrew/cask/lib/hbc/cli/list.rb @@ -67,7 +67,7 @@ module Hbc puts installed_casks.map(&:to_s) elsif @options[:versions] puts installed_casks.map(&method(:format_versioned)) - else + elsif !installed_casks.empty? puts Formatter.columns(installed_casks.map(&:to_s)) end @@ -83,7 +83,7 @@ module Hbc end def self.needs_init? - true + false end end end |
