Skip to content
Snippets Groups Projects
Commit b8668f40 authored by Markus Reiter's avatar Markus Reiter
Browse files

Use `CaskLoader.load_from_file` in `Auditor`.

parent c67c338a
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment