[rubygems/rubygems] Enabled Style/RedundantReturn cop

05cc97bdf8
This commit is contained in:
Hiroshi SHIBATA 2023-03-23 10:16:17 +09:00
parent 19e9c4004b
commit 2e3cd1dc3e
Notes: git 2023-03-23 08:19:21 +00:00
26 changed files with 43 additions and 45 deletions

View file

@ -179,7 +179,7 @@ class Gem::Commands::CertCommand < Gem::Command
key = Gem::Security.create_key(algorithm)
key_path = Gem::Security.write key, "gem-private_key.pem", 0600, passphrase
return key, key_path
[key, key_path]
end
def certificates_matching(filter)