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}" ${closed_issues}"
else else
printf "\n${RED}❌ An error occurred. Please try again.${RESET}\n" printf "\n${RED}❌ An error occurred. Please try again.${RESET}\n"
exit 1
fi fi
} }