Skip to content
Snippets Groups Projects
Unverified Commit daf515fc authored by Markus Reiter's avatar Markus Reiter Committed by GitHub
Browse files

Merge pull request #4766 from reitermarkus/audit-cleanup

Don’t use `CLI::Cleanup` in `Auditor`.
parents 771eb4f4 9f06b3df
No related branches found
No related tags found
No related merge requests found
......@@ -47,7 +47,8 @@ module Hbc
MacOS.instance_variable_set(:@languages, languages)
audit_cask_instance(CaskLoader.load(cask.sourcefile_path))
ensure
CLI::Cleanup.run(cask.token) if audit_download?
# TODO: Check if this is still needed once cache deduplication is active.
Homebrew::Cleanup.new(days: 0).cleanup_cask(cask) if audit_download?
end
def audit_cask_instance(cask)
......
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