Don’t use CLI::Cleanup in Auditor.

This commit is contained in:
Markus Reiter 2018-08-27 23:24:37 +02:00
parent 771eb4f4bd
commit 9f06b3df23

View File

@ -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)