-
-
Notifications
You must be signed in to change notification settings - Fork 33
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
Allow applying corrections in place #139
Comments
By this, do you mean that you're requesting that this action pushes a commit that formats the files failing the check? If so, I won't be implementing that - my intent for this action is to provide a minimal-permission checker utility, not a fixer utility. |
I'm talking about running clang-format with -i or an option that would just show the necessary changes |
So I guess the procedure here would be
|
This will not work I believe when the code is already formatted, because Removing an extra step of creating a commit might work though:
If the code is already formatted, the cmd returns an empty string, otherwise it will show the desired diff. |
This is helpful to show what would be necessary to change on the code to match the style
The text was updated successfully, but these errors were encountered: