diff options
| author | ilovezfs | 2018-02-13 01:57:20 -0800 | 
|---|---|---|
| committer | ilovezfs | 2018-02-13 01:57:20 -0800 | 
| commit | 0efe63402b661752601faaf4450d428ca60f54c8 (patch) | |
| tree | 43afec45e3586571a13455475b610ff8403e1c79 /Library | |
| parent | ab8ab6259d28fa2990a6bd00dc88dea3e1dcade6 (diff) | |
| download | brew-0efe63402b661752601faaf4450d428ca60f54c8.tar.bz2 | |
diagnostic: remove cache size check
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/diagnostic.rb | 12 | 
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[ | 
