1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-12-25 22:01:58 +00:00

fix(git-commit-template): fix error details

exit 1 when a git commit error occurs.
This commit is contained in:
ghasem shirdel 2022-01-07 14:20:00 +03:30 committed by GitHub
parent 06059baa1f
commit 51f6a87435
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -120,6 +120,7 @@ ${breaking_changes}
${closed_issues}"
else
printf "\n${RED}❌ An error occurred. Please try again.${RESET}\n"
exit 1
fi
}