summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2019-01-23 23:03:53 -0300
committerDavid Rodríguez <deivid.rodriguez@riseup.net>2019-02-21 16:32:23 +0100
commitf626de26bdd4decd66a09a2cd6146e87caf640a2 (patch)
treef7a9e38cde369c758729fa716536682600a21fb2 /lib
parent149f1ce04bde47d72a62569143be0484cf4bdbba (diff)
downloadbundler-f626de26bdd4decd66a09a2cd6146e87caf640a2.tar.gz
Remove deprecation releases
Diffstat (limited to 'lib')
-rw-r--r--lib/bundler/shared_helpers.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/bundler/shared_helpers.rb b/lib/bundler/shared_helpers.rb
index e28f9e6f39..e0cb61e03f 100644
--- a/lib/bundler/shared_helpers.rb
+++ b/lib/bundler/shared_helpers.rb
@@ -374,8 +374,7 @@ module Bundler
def prints_major_deprecations?
require "bundler"
- deprecation_release = Bundler::VERSION.split(".").drop(1).include?("99")
- return false if !deprecation_release && !Bundler.settings[:major_deprecations]
+ return false unless Bundler.settings[:major_deprecations]
require "bundler/deprecate"
return false if Bundler::Deprecate.skip
true