jish / pre-commit

A slightly improved pre-commit hook for git
https://jish.github.io/pre-commit/
Other
796 stars 96 forks source link

Prevent result of Cli#execute_run from being clobbered. #195

Closed david closed 9 years ago

david commented 9 years ago

This fixes a problem where, currently, when you run pre-commit run from the command line, it always returns an exit code of 1, which is really bad when you're using it, say, in a CI environment.

mpapis commented 9 years ago

@jish looks good :+1:

jish commented 9 years ago

Thanks for your contribution! :)

david commented 9 years ago

My pleasure, thanks for the gem!