Fix brew cask audit not working without argument.

This commit is contained in:
Markus Reiter 2017-04-11 16:35:18 +02:00
parent 48e8cf7568
commit 2631474f25

View File

@ -6,8 +6,7 @@ module Hbc
module ClassMethods module ClassMethods
def all def all
@all_casks ||= {} all_tokens.map(&CaskLoader.public_method(:load))
all_tokens.map { |t| @all_casks[t] ||= load(t) }
end end
def all_tapped_cask_dirs def all_tapped_cask_dirs