Skip to content

Commit e6b68df

Browse files
committed
style(template.sh): reformat the code
1 parent bb662b3 commit e6b68df

1 file changed

Lines changed: 3 additions & 8 deletions

File tree

template.sh

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

92-
printf "\n${TYPE}${SCOPE}: ${SHORT_DESC}
93-
92+
printf "\n${GREEN}${TYPE}${SCOPE}: ${SHORT_DESC}
9493
${LONG_DESC}
95-
9694
${BREAKING_CHANGES}
97-
98-
${CLOSED_ISSUES}\n\n"
95+
${CLOSED_ISSUES}${RESET}\n\n"
9996

10097
# Git commit
10198
RESULT_CODE=$?
10299
if [ "$RESULT_CODE" = 0 ]; then
103100
git commit -m "${TYPE}${SCOPE}: ${SHORT_DESC}
104-
105101
${LONG_DESC}
106-
107102
${BREAKING_CHANGES}
108-
109103
${CLOSED_ISSUES}"
110104
else
111105
printf "\n${RED}❌ An error occurred. Please try again.${RESET}\n"
112106
fi
107+

0 commit comments

Comments
 (0)