[rubygems/rubygems] Reword log message about current platform being missing
It reads better this way I think. https://github.com/rubygems/rubygems/commit/ce9743290d
This commit is contained in:
parent
4e1df25b15
commit
afda30774c
Notes:
git
2025-03-24 04:25:32 +00:00
@ -810,7 +810,7 @@ module Bundler
|
|||||||
[
|
[
|
||||||
[@source_changes, "the list of sources changed"],
|
[@source_changes, "the list of sources changed"],
|
||||||
[@dependency_changes, "the dependencies in your gemfile changed"],
|
[@dependency_changes, "the dependencies in your gemfile changed"],
|
||||||
[@current_platform_missing, "your lockfile does not include the current platform"],
|
[@current_platform_missing, "your lockfile is missing the current platform"],
|
||||||
[@new_platforms.any?, "you are adding a new platform to your lockfile"],
|
[@new_platforms.any?, "you are adding a new platform to your lockfile"],
|
||||||
[@path_changes, "the gemspecs for path gems changed"],
|
[@path_changes, "the gemspecs for path gems changed"],
|
||||||
[@local_changes, "the gemspecs for git local gems changed"],
|
[@local_changes, "the gemspecs for git local gems changed"],
|
||||||
|
@ -1368,7 +1368,7 @@ RSpec.describe "bundle install with gem sources" do
|
|||||||
it "adds the current platform to the lockfile" do
|
it "adds the current platform to the lockfile" do
|
||||||
bundle "install --verbose"
|
bundle "install --verbose"
|
||||||
|
|
||||||
expect(out).to include("re-resolving dependencies because your lockfile does not include the current platform")
|
expect(out).to include("re-resolving dependencies because your lockfile is missing the current platform")
|
||||||
expect(out).not_to include("you are adding a new platform to your lockfile")
|
expect(out).not_to include("you are adding a new platform to your lockfile")
|
||||||
|
|
||||||
expect(lockfile).to eq <<~L
|
expect(lockfile).to eq <<~L
|
||||||
|
@ -1683,7 +1683,7 @@ end
|
|||||||
RUBY
|
RUBY
|
||||||
end
|
end
|
||||||
|
|
||||||
expect(err).to include("Your lockfile does not include the current platform, but can't be updated because file system is read-only")
|
expect(err).to include("Your lockfile is missing the current platform, but can't be updated because file system is read-only")
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user