diff options
| author | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2023-03-16 10:52:25 +0900 |
|---|---|---|
| committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2023-03-17 18:50:55 +0900 |
| commit | 2eb99350f45d70b9f269457b41150b9a468ffc7e (patch) | |
| tree | 7600e36595f25ed2e126c4b511574fabf0c7b05d | |
| parent | 2dddac0475ee76e89e6999e0a563310e08325a2d (diff) | |
[rubygems/rubygems] Removed rubocop:disable detected by Lint/RedundantCopDisableDirective
https://github.com/rubygems/rubygems/commit/07b0da6c24
| -rw-r--r-- | lib/rubygems/command.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rubygems/command.rb b/lib/rubygems/command.rb index 1e15f612de..cd6af51d78 100644 --- a/lib/rubygems/command.rb +++ b/lib/rubygems/command.rb @@ -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 |
