fix(conventi): fix conventi.sh function get_commit_body()
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
74e622a5e0
commit
dc2e6446d5
@ -170,7 +170,7 @@ get_commit_footer() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
get_commit_body() {
|
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
|
if [ -n "$pattern" ]; then
|
||||||
echo "$1" | sed -e "/$pattern/,\$d"
|
echo "$1" | sed -e "/$pattern/,\$d"
|
||||||
else
|
else
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user