Skip to content

Commit 76c5d3e

Browse files
PlaidCatCopilot
andcommitted
CoPilot fix for prinint body.
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
1 parent 8a577cd commit 76c5d3e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/pr_check_comment.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ jobs:
8585
CURRENT_BODY=$(gh pr view "$PR_NUMBER" --repo "$REPOSITORY" --json body --jq '.body')
8686
8787
# Strip previous coverage section if it exists
88-
CLEAN_BODY=$(echo "$CURRENT_BODY" | sed '/<!-- coverage-report -->/,$d')
88+
CLEAN_BODY=$(printf '%s\n' "$CURRENT_BODY" | sed '/<!-- coverage-report -->/,$d')
8989
9090
# Build New PR body with coverage appended at the bottom
9191
{

0 commit comments

Comments
 (0)