aboutsummaryrefslogtreecommitdiffstats
path: root/tool/lib/leakchecker.rb
diff options
context:
space:
mode:
Diffstat (limited to 'tool/lib/leakchecker.rb')
-rw-r--r--tool/lib/leakchecker.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/tool/lib/leakchecker.rb b/tool/lib/leakchecker.rb
index 26d75b92fa..1966145588 100644
--- a/tool/lib/leakchecker.rb
+++ b/tool/lib/leakchecker.rb
@@ -234,6 +234,9 @@ class LeakChecker
new_env = find_env
return false if old_env == new_env
(old_env.keys | new_env.keys).sort.each {|k|
+ # Don't report changed environment variables caused by Bundler's backups
+ next if k.start_with?(Bundler::EnvironmentPreserver::BUNDLER_PREFIX)
+
if old_env.has_key?(k)
if new_env.has_key?(k)
if old_env[k] != new_env[k]