From 9f19037d815fa298150c1cde72f5d22e77f06d08 Mon Sep 17 00:00:00 2001 From: Adam Farley Date: Tue, 12 Dec 2023 13:31:50 +0000 Subject: [PATCH] Fixing an output formatting error Signed-off-by: Adam Farley --- tooling/build_autotriage/build_autotriage.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tooling/build_autotriage/build_autotriage.sh b/tooling/build_autotriage/build_autotriage.sh index e6fa55649..61d86f6f5 100644 --- a/tooling/build_autotriage/build_autotriage.sh +++ b/tooling/build_autotriage/build_autotriage.sh @@ -276,9 +276,9 @@ generateOutputFile() { echo "Failure: ${arrayOfFailedJobs[failedJobIndex]}" echo "Cause: ${arrayOfRegexMetadata[regexID]}" echo "Preventable: ${preventable}" - echo "```" - echo "${arrayOfErrorLinesForFailedJobs[failedJobIndex]}" - echo "```" + echo "\`\`\`" + echo "'${arrayOfErrorLinesForFailedJobs[failedJobIndex]}'" + echo "\`\`\`" echo "" done echo "# End of list" @@ -289,7 +289,7 @@ generateOutputFile() { echo "# Script Issues" for issueID in "${!buildIssues[@]}" do - echo "- Issue ${issueID}: ${buildIssues[issueID]}\n" + echo "- Issue ${issueID}: ${buildIssues[issueID]}" done echo "# End of Issues" fi