Skip to content
This repository has been archived by the owner on Apr 14, 2021. It is now read-only.

Commit

Permalink
Gemfile{,.lock} stay undeprecated until bundler 3
Browse files Browse the repository at this point in the history
But the check for the major version seems redundant.
  • Loading branch information
deivid-rodriguez committed Jan 26, 2019
1 parent 652853e commit a2046a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/bundler/shared_helpers.rb
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ def print_major_deprecations!
next if gemfiles.empty?
break false if gemfiles.size == 1
end
if multiple_gemfiles && Bundler.bundler_major_version == 2
if multiple_gemfiles
Bundler::SharedHelpers.major_deprecation 3, \
"gems.rb and gems.locked will be preferred to Gemfile and Gemfile.lock."
end
Expand Down

0 comments on commit a2046a9

Please sign in to comment.