[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

@ -16,7 +16,7 @@ class Gem::Commands::EnvironmentCommand < Gem::Command
platform display the supported gem platforms
<omitted> display everything
EOF
return args.gsub(/^\s+/, "")
args.gsub(/^\s+/, "")
end
def description # :nodoc:
@ -170,6 +170,6 @@ lib/rubygems/defaults/operating_system.rb
end
end
return nil
nil
end
end