openSUSE / gitarro

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

Fix guard clause syntax #122

Closed juliogonzalez closed 6 years ago

juliogonzalez commented 6 years ago

What does this PR do?

Fix guard clause syntax, as new rubocop version at Travis is complaining about the lack of empty lines after them:

    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
lib/gitarro/backend.rb:320:5: C: Layout/EmptyLineAfterGuardClause: Add empty line after guard clause.
    return false unless retriggered_by_comment?(pr.number, @context)

What issues does this PR fix or reference?

Tests written?

No, just syntax fixing, adding empty lines.

juliogonzalez commented 6 years ago

Ping @MalloZup: can you merge this?