diff --git a/Library/Homebrew/cask/auditor.rb b/Library/Homebrew/cask/auditor.rb index a4ccf4c908..8a5485739f 100644 --- a/Library/Homebrew/cask/auditor.rb +++ b/Library/Homebrew/cask/auditor.rb @@ -1,4 +1,3 @@ -require "cleanup" require "cask/download" module Cask @@ -52,9 +51,6 @@ module Cask ohai "Auditing language: #{languages.map { |lang| "'#{lang}'" }.to_sentence}" MacOS.instance_variable_set(:@languages, languages) audit_cask_instance(CaskLoader.load(cask.sourcefile_path)) - ensure - # 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)