fix(conventi): fix conventi.sh function get_commit_body() #9

Merged
rick merged 1 commits from hotfix/conventi into main 2022-06-02 00:34:58 +02:00

View File

@ -170,7 +170,7 @@ get_commit_footer() {
}
get_commit_body() {
pattern=$(get_commit_footer "$1" | head -n 1)
pattern=$(get_commit_footer "$1" | head -n 1 | sed -e 's/[]\/$*.^[]/\\&/g')
if [ -n "$pattern" ]; then
echo "$1" | sed -e "/$pattern/,\$d"
else