gnustavo / Git-Hooks

Framework for implementing Git (and Gerrit) hooks
http://search.cpan.org/dist/Git-Hooks/
41 stars 17 forks source link

Fix bug: return nr of errors, not boolean #68

Closed mikkoi closed 2 years ago

mikkoi commented 2 years ago

We are returning positive value when there are no errors. We should instead return the number of errors. A positive value means that one or more checks failed.

Signed-off-by: Mikko Johannes Koivunalho mikko.koivunalho@iki.fi

gnustavo commented 2 years ago

Thank you, Mikko.