aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/diagnostic.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Homebrew/diagnostic.rb')
-rw-r--r--Library/Homebrew/diagnostic.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Homebrew/diagnostic.rb b/Library/Homebrew/diagnostic.rb
index 8516f2b63..178758347 100644
--- a/Library/Homebrew/diagnostic.rb
+++ b/Library/Homebrew/diagnostic.rb
@@ -788,7 +788,7 @@ module Homebrew
EOS
end
- return if ENV["CI"] || ENV["JENKINS_HOME"]
+ return if ENV["CI"]
branch = coretap_path.git_branch
return if branch.nil? || branch =~ /master/
@@ -838,7 +838,7 @@ module Homebrew
def check_for_large_cache
return unless HOMEBREW_CACHE.exist?
# CI can be expected to have a large cache.
- return if ENV["CI"] || ENV["JENKINS_HOME"]
+ return if ENV["CI"]
cache_size = HOMEBREW_CACHE.disk_usage
return unless cache_size > 2_147_483_648
<<~EOS