summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndre Arko <andre@arko.net>2018-03-04 16:04:17 -0800
committerAndre Arko <andre@arko.net>2018-03-04 16:04:17 -0800
commitd809e339d62738757393ac93df492881d57ab11f (patch)
treec90e5fd32c3b54684a8ce1b6c0c128e861b73145
parent776bdc0c79dacef75f114bbb2e469bff04da8cc4 (diff)
downloadbundler-indirect/deprecation-with-warnings.tar.gz
Remove `clean_env` in Bundler 3, deprecate in 2.indirect/deprecation-with-warnings
-rw-r--r--lib/bundler.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler.rb b/lib/bundler.rb
index 8fc8da6dcb..c2d9c6b1de 100644
--- a/lib/bundler.rb
+++ b/lib/bundler.rb
@@ -281,7 +281,7 @@ EOF
# @deprecated Use `original_env` instead
# @return [Hash] Environment with all bundler-related variables removed
def clean_env
- Bundler::SharedHelpers.major_deprecation(2, "`Bundler.clean_env` has weird edge cases, use `.original_env` instead")
+ Bundler::SharedHelpers.major_deprecation(3, "`Bundler.clean_env` has weird edge cases, use `.original_env` instead")
env = original_env
if env.key?("BUNDLER_ORIG_MANPATH")