-
-
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
bash exit 1 doesn't work #71
Comments
#72 fixed on this pr |
@alirezanet |
Hi @aliasadidev, |
Hi @aliasadidev, I think the better approach to solving similar problems is to use a |
Version
0.5.4
Details
The tool doesn't care about the errors, the information attached into Steps to reproduce section
Steps to reproduce
setup and config
dotnet new console -n App1 git init dotnet new tool-manifest dotnet tool install Husky dotnet husky install dotnet husky add pre-commit -c "dotnet husky run --group pre-commit'"
add .editorconfig file
pre-commit file content
Task-runner.json
Update program.cs (with bad format)
Add all files
The problem is when I send the git commit, it will be stored successfully, but it shouldn't be.
As you can see the file should be placed in the change section.
Dotnet format worked correctly (added the file as a new file changed)
The text was updated successfully, but these errors were encountered: