diff --git a/src/teamwork.sh b/src/teamwork.sh index 69ef6b11..bdf536e9 100644 --- a/src/teamwork.sh +++ b/src/teamwork.sh @@ -144,7 +144,7 @@ teamwork::pull_request_opened() { # local -r pr_stats=$(github::get_pr_patch_stats) local -r pr_body=$(github::get_pr_body) # IFS=" " read -r -a pr_stats_array <<< "$pr_stats" - local -r substring="##Teamwork task link" #discard anything from this text onwards in the PR template + local -r substring="## Teamwork task link" #discard anything from this text onwards in the PR template local -r extracted_body=${pr_body%%$substring*} teamwork::add_comment "