Skip to content

Commit 8085227

Browse files
committed
feat(template.sh): fix ident bug for git commit
1 parent 80cb368 commit 8085227

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

template.sh

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -89,18 +89,18 @@ if [ ! -z "$BREAKING_CHANGES" ]; then
8989
BREAKING_CHANGES="BREAKING CHANGE: ${BREAKING_CHANGES}"
9090
fi
9191

92-
printf "\n${GREEN}${TYPE}${SCOPE}: ${SHORT_DESC}
93-
${LONG_DESC}
94-
${BREAKING_CHANGES}
95-
${CLOSED_ISSUES}${RESET}\n\n"
92+
printf "\n ${GREEN}${TYPE}${SCOPE}: ${SHORT_DESC}
93+
${LONG_DESC}
94+
${BREAKING_CHANGES}
95+
${CLOSED_ISSUES}${RESET}\n\n"
9696

9797
# Git commit
9898
RESULT_CODE=$?
9999
if [ "$RESULT_CODE" = 0 ]; then
100-
git commit -m " ${TYPE}${SCOPE}: ${SHORT_DESC}
101-
${LONG_DESC}
102-
${BREAKING_CHANGES}
103-
${CLOSED_ISSUES}"
100+
git commit -m "${TYPE}${SCOPE}: ${SHORT_DESC}
101+
${LONG_DESC}
102+
${BREAKING_CHANGES}
103+
${CLOSED_ISSUES}"
104104
else
105105
printf "\n${RED}❌ An error occurred. Please try again.${RESET}\n"
106106
fi

0 commit comments

Comments
 (0)