We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 89daaad commit 4f556f0Copy full SHA for 4f556f0
template.sh
@@ -65,10 +65,9 @@ printf " • no dot (.) at the end\n\n"
65
66
while :; do
67
read -e short_desc
68
- limit_counter=${#short_desc}
69
if [ -z "$short_desc" ]; then
70
printf "${RED}❌ Short description can not be empty.${RESET}\n"
71
- elif [[ $limit_counter > 50 ]]; then
+ elif [[ ${#limit_counter} -gt 50 ]]; then
72
printf "${RED}❌ The maximum character for header is 50, Please\
73
provide details in long descriptions.${RESET}\n"
74
else
0 commit comments