openSUSE / gitarro

run all your test against a GitHub Pull request
https://opensuse.github.io/gitarro
MIT License
15 stars 20 forks source link

we don't need a variable in this particual function :) #140

Closed MalloZup closed 6 years ago

MalloZup commented 6 years ago

https://github.com/openSUSE/gitarro/blob/master/lib/gitarro/backend.rb#L92

in that function we are creating a variable for then returning it.

instead we can just call the function ( the return value will be returned by ruby)