From 1b9c0cb9d6bb3225b40727f764ca9aa2795a71f7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Rodr=C3=ADguez?= Date: Wed, 23 Jan 2019 23:03:53 -0300 Subject: [PATCH] Remove deprecation releases --- lib/bundler/shared_helpers.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/bundler/shared_helpers.rb b/lib/bundler/shared_helpers.rb index 76e3043b7a6..12921c6ca24 100644 --- a/lib/bundler/shared_helpers.rb +++ b/lib/bundler/shared_helpers.rb @@ -374,8 +374,7 @@ def resolve_path(path) 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