Issue
It had 2 :, one before & one after, like that:
Fix:(some thing): blabla...
|
# if there are brackets in the commit message, remove the colon |
|
brackets_regex="\(([^()]*)\)" |
|
for s in ${result[@]}; do |
|
if [[ ${s} =~ $brackets_regex ]]; then |
|
result=$(echo "$result" | sed "s/:(/(/") |
|
fi |
|
done |
Issue
It had 2
:, one before & one after, like that:git-template/.husky/commit-msg
Lines 62 to 68 in 9ace40f