From 51f6a87435681ea4bedad0816f78bc5b07d135f8 Mon Sep 17 00:00:00 2001 From: ghasem shirdel Date: Fri, 7 Jan 2022 14:20:00 +0330 Subject: [PATCH] fix(git-commit-template): fix error details exit 1 when a git commit error occurs. --- plugins/git-commit-template/git-commit-template.plugin.zsh | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/git-commit-template/git-commit-template.plugin.zsh b/plugins/git-commit-template/git-commit-template.plugin.zsh index 9c6856f61..06f7bd829 100644 --- a/plugins/git-commit-template/git-commit-template.plugin.zsh +++ b/plugins/git-commit-template/git-commit-template.plugin.zsh @@ -120,6 +120,7 @@ ${breaking_changes} ${closed_issues}" else printf "\n${RED}❌ An error occurred. Please try again.${RESET}\n" + exit 1 fi }