From be9e080cda074f54b14745f690b69f803a06778e Mon Sep 17 00:00:00 2001 From: Hannah Kim Date: Tue, 28 Jan 2025 10:48:18 -0500 Subject: [PATCH] fix potential errors with multiline testcases --- .github/actions/add-codeowners/codeowners.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/add-codeowners/codeowners.sh b/.github/actions/add-codeowners/codeowners.sh index f22633f8c4..f9cec066d4 100755 --- a/.github/actions/add-codeowners/codeowners.sh +++ b/.github/actions/add-codeowners/codeowners.sh @@ -14,7 +14,7 @@ for file in "$@"; do if [[ "$p" =~ \| file=\"$file_name\">|") + new_line=$(echo "$p" | sed "s|]*\)>||") echo "$new_line" >> "$temp_file" else echo "$p" >> "$temp_file"