aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike McQuaid2018-02-13 11:14:48 +0000
committerGitHub2018-02-13 11:14:48 +0000
commit62f1bb79bd468dd82ca8d50e4bd8f872aa6c3fea (patch)
tree82ee30abc6927c31a03aaa51d9d638ad87e93e20
parentb609e406bcc8d0f022ce9ab2695710a023fc8377 (diff)
parent0efe63402b661752601faaf4450d428ca60f54c8 (diff)
downloadbrew-62f1bb79bd468dd82ca8d50e4bd8f872aa6c3fea.tar.bz2
Merge pull request #3799 from ilovezfs/diagnostic-remove-cache-size-check
diagnostic: remove cache size check
-rw-r--r--Library/Homebrew/diagnostic.rb12
1 files changed, 0 insertions, 12 deletions
diff --git a/Library/Homebrew/diagnostic.rb b/Library/Homebrew/diagnostic.rb
index 178758347..d1de5ab00 100644
--- a/Library/Homebrew/diagnostic.rb
+++ b/Library/Homebrew/diagnostic.rb
@@ -835,18 +835,6 @@ module Homebrew
EOS
end
- def check_for_large_cache
- return unless HOMEBREW_CACHE.exist?
- # CI can be expected to have a large cache.
- return if ENV["CI"]
- cache_size = HOMEBREW_CACHE.disk_usage
- return unless cache_size > 2_147_483_648
- <<~EOS
- Your HOMEBREW_CACHE is using #{disk_usage_readable(cache_size)} of disk space.
- You may wish to consider running `brew cleanup`.
- EOS
- end
-
def check_for_other_frameworks
# Other frameworks that are known to cause problems when present
frameworks_to_check = %w[