diff options
author | Hiroshi SHIBATA <[email protected]> | 2023-03-23 10:16:17 +0900 |
---|---|---|
committer | Hiroshi SHIBATA <[email protected]> | 2023-03-23 17:18:49 +0900 |
commit | 2e3cd1dc3e30f4725b18032b85a36f208c9528bc () | |
tree | 03b319dd2a715c27aa7ca25a892df86aa956416e /lib/rubygems/spec_fetcher.rb | |
parent | 19e9c4004b9d137ad48757f3f4c2d92257e6c2c4 (diff) |
[rubygems/rubygems] Enabled Style/RedundantReturn cop
https://.com/rubygems/rubygems/commit/05cc97bdf8
Notes: Merged: https://.com/ruby/ruby/pull/7582
-rw-r--r-- | lib/rubygems/spec_fetcher.rb | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -123,7 +123,7 @@ class Gem::SpecFetcher tuples = tuples.sort_by {|x| x[0].version } - return [tuples, errors] end ## @@ -161,7 +161,7 @@ class Gem::SpecFetcher specs << [spec, source] end - return [specs, errors] end ## |