From 2eb99350f45d70b9f269457b41150b9a468ffc7e Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Thu, 16 Mar 2023 10:52:25 +0900 Subject: [PATCH] [rubygems/rubygems] Removed rubocop:disable detected by Lint/RedundantCopDisableDirective https://github.com/rubygems/rubygems/commit/07b0da6c24 --- lib/rubygems/command.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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