summaryrefslogtreecommitdiff
path: root/lib/rubygems/commands
diff options
context:
space:
mode:
authorHiroshi SHIBATA <[email protected]>2023-03-16 11:57:00 +0900
committerHiroshi SHIBATA <[email protected]>2023-03-17 18:50:55 +0900
commit03736159484cb7f9eeaaed3737beec924a175679 (patch)
treeac4f82f0a1019361e735f4f955c2548990f956fb /lib/rubygems/commands
parent3e1f767cd599bbabb27043f98082996f81eb9929 (diff)
util/rubocop -A --only Layout/SpaceInsideArrayLiteralBrackets
Diffstat (limited to 'lib/rubygems/commands')
-rw-r--r--lib/rubygems/commands/push_command.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rubygems/commands/push_command.rb b/lib/rubygems/commands/push_command.rb
index 46b65f4e15..7c5cb7a81a 100644
--- a/lib/rubygems/commands/push_command.rb
+++ b/lib/rubygems/commands/push_command.rb
@@ -74,7 +74,7 @@ The push command will use ~/.gem/credentials to authenticate to a server, but yo
@host ||= push_host
# Always include @host, even if it's nil
- args += [ @host, push_host ]
+ args += [@host, push_host]
say "Pushing gem to #{@host || Gem.host}..."