[rubygems/rubygems] util/rubocop -A --only Lint/UnusedBlockArgument

d8efd919db
This commit is contained in:
Hiroshi SHIBATA 2023-03-16 10:46:45 +09:00
parent 7ab4ede4f5
commit 05208c3875
33 changed files with 77 additions and 77 deletions

View file

@ -79,7 +79,7 @@ class Gem::Commands::UninstallCommand < Gem::Command
add_option("--vendor",
"Uninstall gem from the vendor directory.",
"Only for use by gem repackagers.") do |value, options|
"Only for use by gem repackagers.") do |_value, options|
unless Gem.vendor_dir
raise Gem::OptionParser::InvalidOption.new "your platform is not supported"
end