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 file created with wrong configuration #136

Open
ketan-rathod-713 opened this issue Nov 24, 2024 · 1 comment
Open

pre-commit file created with wrong configuration #136

ketan-rathod-713 opened this issue Nov 24, 2024 · 1 comment

Comments

@ketan-rathod-713
Copy link

I ran below command to create commit hooks in my .git/hooks folder.

npx mookme init --only-hook

It created several files which i had selected. But the problem is that the contents of file is somehow buggy.

For eg. what i got for pre-commit file is :

npx @escape.tech/mookme -- run --type pre-commit --args "$1"

And what i want is:

npx @escape.tech/mookme run --type commit-msg --args "$1"

@ketan-rathod-713
Copy link
Author

I found that this bug is occuring in beta branch, because the utils/git.js file is changed with minor bugs which needs to be fixed.

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

No branches or pull requests

1 participant