-
Notifications
You must be signed in to change notification settings - Fork 67
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
clang-format stops working when using --version #44
Comments
Thank you for the feedback. I see this is an issue, and I'm investigating it. |
This is the case for |
Isn't the problem simply that you don't remove the |
I get the same error, specifying the version "fixes" it |
It seems likely that the problem is with That means that execution never continues once It seems like maybe the successful exit line should be removed so that the hook can actually run after the version is confirmed. If that looks like the right fix, I'm happy to submit a PR if that's welcome @pocc |
With the default test repo (
pre-commit-hooks/tests/test_repo
) and the following config...... the following happens (incorrectly, it should detect the incorrect formatting):
But when I remove
--version=10.0.0
, it's working:The text was updated successfully, but these errors were encountered: