We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4c3dd22 commit 0005c3dCopy full SHA for 0005c3d
scripts/workflow/format_workflow_outputs.sh
@@ -28,7 +28,7 @@ if [[ -f "$IN_FILE" ]]; then
28
if [[ "$NUM_ISSUES" -ge 1 ]]; then
29
MSG="`jq -r '.Issues[0].Text' "$IN_FILE"`"
30
else
31
- MSG="`grep -E 'Error Trace:|Error:'`"
+ MSG="`grep -E 'Error:|Error Trace:' $IN_FILE | sed -e 's/^\s*//' -e '/^$/d'`"
32
fi
33
34
0 commit comments