Skip to content

Commit afda307

Browse files
deivid-rodriguezhsbt
authored andcommitted
[rubygems/rubygems] Reword log message about current platform being missing
It reads better this way I think. ruby/rubygems@ce9743290d
1 parent 4e1df25 commit afda307

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

lib/bundler/definition.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -810,7 +810,7 @@ def change_reason
810810
[
811811
[@source_changes, "the list of sources changed"],
812812
[@dependency_changes, "the dependencies in your gemfile changed"],
813-
[@current_platform_missing, "your lockfile does not include the current platform"],
813+
[@current_platform_missing, "your lockfile is missing the current platform"],
814814
[@new_platforms.any?, "you are adding a new platform to your lockfile"],
815815
[@path_changes, "the gemspecs for path gems changed"],
816816
[@local_changes, "the gemspecs for git local gems changed"],

spec/bundler/commands/install_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1368,7 +1368,7 @@ def run
13681368
it "adds the current platform to the lockfile" do
13691369
bundle "install --verbose"
13701370

1371-
expect(out).to include("re-resolving dependencies because your lockfile does not include the current platform")
1371+
expect(out).to include("re-resolving dependencies because your lockfile is missing the current platform")
13721372
expect(out).not_to include("you are adding a new platform to your lockfile")
13731373

13741374
expect(lockfile).to eq <<~L

spec/bundler/runtime/setup_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1683,7 +1683,7 @@ def require(path)
16831683
RUBY
16841684
end
16851685

1686-
expect(err).to include("Your lockfile does not include the current platform, but can't be updated because file system is read-only")
1686+
expect(err).to include("Your lockfile is missing the current platform, but can't be updated because file system is read-only")
16871687
end
16881688
end
16891689
end

0 commit comments

Comments
 (0)