Skip to content
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

Pre-Commit hook modifies files resulting in a second commit needed. #46

Open
CalvinRodo opened this issue Sep 27, 2021 · 0 comments
Open

Comments

@CalvinRodo
Copy link
Member

At the moment if we do a commit and the policy files are recompiled or the format is fixed we have to do a second commit after the first with the changes from the git commit hook.

This is an awkward workflow as we are constantly doing two commits when one should work.

Would be nice to either stage the changes from the hook automatically or change it to a test forcing the user to run the changes through NPM command line.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant