[rubygems/rubygems] Removed rubocop:disable detected by Lint/RedundantCopDisableDirective
https://github.com/rubygems/rubygems/commit/07b0da6c24
This commit is contained in:
parent
2dddac0475
commit
2eb99350f4
@ -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
|
||||
ex << extra.shift if extra.first.to_s =~ /^[^-]/
|
||||
result << ex if handles?(ex)
|
||||
end
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user