summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Rodríguez <2887858+deivid-rodriguez@users.noreply.github.com>2025-09-09 19:18:31 +0200
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2025-09-16 17:17:32 +0900
commit9b45a25c4897b0e9565dad9fa7a0765b68732679 (patch)
tree9479bb2471438f6aeb6a08fbc1f62932d8e456ad
parenta71b339477a291a93fc9f83266eaad3423df6acc (diff)
[rubygems/rubygems] Fix `rubocop` config removal message
In Bundler 4, configuration will no longer be updated. https://github.com/rubygems/rubygems/commit/33a4718d7a
-rw-r--r--lib/bundler/cli/gem.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler/cli/gem.rb b/lib/bundler/cli/gem.rb
index 5b71d71c67..b63617d536 100644
--- a/lib/bundler/cli/gem.rb
+++ b/lib/bundler/cli/gem.rb
@@ -431,7 +431,7 @@ module Bundler
elsif !Bundler.settings["gem.rubocop"].nil?
Bundler::SharedHelpers.major_deprecation 2,
"config gem.rubocop is deprecated; we've updated your config to use gem.linter instead",
- removed_message: "config gem.rubocop has been removed; we've updated your config to use gem.linter instead"
+ removed_message: "config gem.rubocop has been removed; use gem.linter instead"
Bundler.settings["gem.rubocop"] ? "rubocop" : false
end
end