[rubygems/rubygems] Fix typo in multiple gemfiles warning

https://github.com/rubygems/rubygems/commit/bc69d19097
This commit is contained in:
Sven Schwyn 2022-02-09 14:15:54 +01:00 committed by git
parent 2cc890d7d3
commit a271acf822
2 changed files with 3 additions and 3 deletions

View File

@ -141,7 +141,7 @@ module Bundler
end end
return unless multiple_gemfiles return unless multiple_gemfiles
message = "Multiple gemfiles (gems.rb and Gemfile) detected. " \ message = "Multiple gemfiles (gems.rb and Gemfile) detected. " \
"Make sure you remove Gemfile and Gemfile.lock since bundler is ignoring them in favor of gems.rb and gems.rb.locked." "Make sure you remove Gemfile and Gemfile.lock since bundler is ignoring them in favor of gems.rb and gems.locked."
Bundler.ui.warn message Bundler.ui.warn message
end end

View File

@ -352,7 +352,7 @@ RSpec.describe "major deprecations" do
G G
expect(warnings).to include( expect(warnings).to include(
"Multiple gemfiles (gems.rb and Gemfile) detected. Make sure you remove Gemfile and Gemfile.lock since bundler is ignoring them in favor of gems.rb and gems.rb.locked." "Multiple gemfiles (gems.rb and Gemfile) detected. Make sure you remove Gemfile and Gemfile.lock since bundler is ignoring them in favor of gems.rb and gems.locked."
) )
expect(the_bundle).not_to include_gem "rack 1.0" expect(the_bundle).not_to include_gem "rack 1.0"
@ -512,7 +512,7 @@ RSpec.describe "major deprecations" do
it "should print a single deprecation warning" do it "should print a single deprecation warning" do
expect(warnings).to include( expect(warnings).to include(
"Multiple gemfiles (gems.rb and Gemfile) detected. Make sure you remove Gemfile and Gemfile.lock since bundler is ignoring them in favor of gems.rb and gems.rb.locked." "Multiple gemfiles (gems.rb and Gemfile) detected. Make sure you remove Gemfile and Gemfile.lock since bundler is ignoring them in favor of gems.rb and gems.locked."
) )
end end
end end