summaryrefslogtreecommitdiff
path: root/lib/rubygems/gem_runner.rb
diff options
context:
space:
mode:
authorHiroshi SHIBATA <[email protected]>2023-03-15 18:06:15 +0900
committergit <[email protected]>2023-03-16 01:59:11 +0000
commit760b8b7d2413670808499eb972abe61400fe6b46 (patch)
treec6cc680f426761b39f202ae72e705a5118573955 /lib/rubygems/gem_runner.rb
parent61831806030612c3a8577d88945b478262ee88f7 (diff)
[rubygems/rubygems] Change enforce style with Layout/CaseIndentation on rubygems
https://github.com/rubygems/rubygems/commit/d4938259c4
Diffstat (limited to 'lib/rubygems/gem_runner.rb')
-rw-r--r--lib/rubygems/gem_runner.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/rubygems/gem_runner.rb b/lib/rubygems/gem_runner.rb
index 31890a60d7..c63c177ed2 100644
--- a/lib/rubygems/gem_runner.rb
+++ b/lib/rubygems/gem_runner.rb
@@ -40,10 +40,10 @@ class Gem::GemRunner
cmd.command_names.each do |command_name|
config_args = Gem.configuration[command_name]
config_args = case config_args
- when String
- config_args.split " "
- else
- Array(config_args)
+ when String
+ config_args.split " "
+ else
+ Array(config_args)
end
Gem::Command.add_specific_extra_args command_name, config_args
end