Skip to content

Commit 0005c3d

Browse files
committed
Edit sh file
1 parent 4c3dd22 commit 0005c3d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/workflow/format_workflow_outputs.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ if [[ -f "$IN_FILE" ]]; then
2828
if [[ "$NUM_ISSUES" -ge 1 ]]; then
2929
MSG="`jq -r '.Issues[0].Text' "$IN_FILE"`"
3030
else
31-
MSG="`grep -E 'Error Trace:|Error:'`"
31+
MSG="`grep -E 'Error:|Error Trace:' $IN_FILE | sed -e 's/^\s*//' -e '/^$/d'`"
3232
fi
3333
fi
3434

0 commit comments

Comments
 (0)