mirror of
https://github.com/ruby/ruby.git
synced 2025-08-24 05:25:34 +02:00
[rubygems/rubygems] util/rubocop -A --only Lint/UnusedBlockArgument
d8efd919db
This commit is contained in:
parent
7ab4ede4f5
commit
05208c3875
33 changed files with 77 additions and 77 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue