Remove unneeded `return` keyword from last line in Ruby functions
MODIFY
build_config/helpers/wine_runner.rb
build_config/helpers/wine_runner.rb
@@ -35,7 +35,7 @@ def clean(output, stderr = false)
result_text = results.join("\n")
result_text += "\n" if ends_with_newline
- return result_text
+ result_text
end

MODIFY
test/bintest.rb
test/bintest.rb
@@ -19,11 +19,11 @@ def cmd_list(s)
end
def cmd(s)
- return cmd_list(s).join(' ')
+ cmd_list(s).join(' ')
end
def cmd_bin(s)
- return cmd_list(s).pop
+ cmd_list(s).pop
end
def shellquote(s)

Remove unneeded `return` keyword from last line in Ruby functions