summaryrefslogtreecommitdiff
path: root/lib/rubygems/command.rb
diff options
context:
space:
mode:
authorHiroshi SHIBATA <[email protected]>2023-03-16 10:52:25 +0900
committerHiroshi SHIBATA <[email protected]>2023-03-17 18:50:55 +0900
commit2eb99350f45d70b9f269457b41150b9a468ffc7e ()
tree7600e36595f25ed2e126c4b511574fabf0c7b05d /lib/rubygems/command.rb
parent2dddac0475ee76e89e6999e0a563310e08325a2d (diff)
[rubygems/rubygems] Removed rubocop:disable detected by Lint/RedundantCopDisableDirective
https://.com/rubygems/rubygems/commit/07b0da6c24
-rw-r--r--lib/rubygems/command.rb2
1 files changed, 1 insertions, 1 deletions
@@ -461,7 +461,7 @@ class Gem::Command
until extra.empty? do
ex = []
ex << extra.shift
- ex << extra.shift if extra.first.to_s =~ /^[^-]/ # rubocop:disable Performance/StartWith
result << ex if handles?(ex)
end