]> git.openstreetmap.org Git - rails.git/commitdiff
Rubocop finds 'return' statements redundant
authorHerve Saint-Amand <git@saintamh.org>
Wed, 11 Jan 2017 23:26:56 +0000 (23:26 +0000)
committerHerve Saint-Amand <git@saintamh.org>
Wed, 11 Jan 2017 23:26:56 +0000 (23:26 +0000)
test/test_helper.rb

index 33a1c92dacbb24398ffec9ddbd987f823c91cabe..68b4a5018ffe5c2ee47d40d1832c39589501afdd 100644 (file)
@@ -195,7 +195,7 @@ module ActiveSupport
           text_parts.concat(email_text_parts(part))
         end
       end
-      return text_parts
+      text_parts
     end
   end
 end