diff options
| author | Markus Reiter | 2017-03-12 22:24:21 +0100 |
|---|---|---|
| committer | GitHub | 2017-03-12 22:24:21 +0100 |
| commit | 159e35b4c5dfae9fd081142195f59c56780b82ca (patch) | |
| tree | a1c1f82b7829ad0aa58657a56d64b67622881732 /Library | |
| parent | 29358232515f6480c16f09af3a23557f45a5a2f3 (diff) | |
| parent | b8668f405014bcbb0a09bca17036bddd37e923ee (diff) | |
| download | brew-159e35b4c5dfae9fd081142195f59c56780b82ca.tar.bz2 | |
Merge pull request #2327 from reitermarkus/auditor
Use `CaskLoader.load_from_file` in `Auditor`.
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/cask/lib/hbc/auditor.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cask/lib/hbc/auditor.rb b/Library/Homebrew/cask/lib/hbc/auditor.rb index c2ffbebda..ec17f3cad 100644 --- a/Library/Homebrew/cask/lib/hbc/auditor.rb +++ b/Library/Homebrew/cask/lib/hbc/auditor.rb @@ -42,7 +42,7 @@ module Hbc def audit_languages(languages) ohai "Auditing language: #{languages.map { |lang| "'#{lang}'" }.join(", ")}" MacOS.instance_variable_set(:@languages, languages) - audit_cask_instance(Hbc.load(cask.sourcefile_path)) + audit_cask_instance(CaskLoader.load_from_file(cask.sourcefile_path)) ensure CLI::Cleanup.run(cask.token) if audit_download? end |
