Hello Community Members,
So today after making some necessary changes I tried to commit my changes.
But it throws,
husky - pre-commit hook exited with code 1 (error)
this error. If anyone of you have faced please help or suggest a way to resolve it.
Thanks in advance.
Hey @Sagar.Singh. there could be two solutions for this. the first one you can flush your .github/husky folder and then re-install. or the temporary/quick solution can be to add git commit -m "message" --no-verify
to use no verify.
Note: @Sagar.singh " One thing I would like to add is that when I tried commiting through wsl It worked perfectly fine without any error. It only happened when I tried commiting though vscode. Maybe Its because of vscode."
Yeah sure, Let me know if that helps
@Samyak.Shah @vishalvivekm @Yash_Sharma One thing I would like to add is that when I tried commiting through wsl It worked perfectly fine without any error. It only happened when I tried commiting though vscode. Maybe Its because of vscode.