diff options
| author | Markus Reiter | 2017-04-11 18:39:14 +0200 |
|---|---|---|
| committer | GitHub | 2017-04-11 18:39:14 +0200 |
| commit | 30582a5fbd35843e183f1591cc8413309fa5e705 (patch) | |
| tree | 4826f5d5f47d02f3a4fe3350c92a632db143ba0e /Library/Homebrew | |
| parent | 48e8cf756853230934cf1b89a1adf85ea1310d62 (diff) | |
| parent | 2631474f25fdd2b98d74946031e4baa6d451083c (diff) | |
| download | brew-30582a5fbd35843e183f1591cc8413309fa5e705.tar.bz2 | |
Merge pull request #2486 from reitermarkus/fix-audit
Fix `brew cask audit` not working without argument.
Diffstat (limited to 'Library/Homebrew')
| -rw-r--r-- | Library/Homebrew/cask/lib/hbc/scopes.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Library/Homebrew/cask/lib/hbc/scopes.rb b/Library/Homebrew/cask/lib/hbc/scopes.rb index db12409e5..149c2c343 100644 --- a/Library/Homebrew/cask/lib/hbc/scopes.rb +++ b/Library/Homebrew/cask/lib/hbc/scopes.rb @@ -6,8 +6,7 @@ module Hbc module ClassMethods def all - @all_casks ||= {} - all_tokens.map { |t| @all_casks[t] ||= load(t) } + all_tokens.map(&CaskLoader.public_method(:load)) end def all_tapped_cask_dirs |
