1
0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2026-04-02 20:04:35 +08: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
}