From 8d817c35165cbffd1e215c805d211106960ee948 Mon Sep 17 00:00:00 2001 From: Richard Lock Date: Tue, 12 Nov 2024 15:16:33 -0500 Subject: [PATCH] fix: adjust text according to template --- src/teamwork.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 "