From e472c35880fc6708be987ecbe768019003b105b6 Mon Sep 17 00:00:00 2001 From: Markus Reiter Date: Sun, 13 Jan 2019 20:29:52 +0100 Subject: [PATCH] Remove unneeded cleanup. --- Library/Homebrew/cask/auditor.rb | 4 ---- 1 file changed, 4 deletions(-) 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)