Don’t use CLI::Cleanup in Auditor.
This commit is contained in:
parent
771eb4f4bd
commit
9f06b3df23
@ -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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user