File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -31,13 +31,13 @@ details_line() {
3131 if echo " $SKETCH_NAME " | grep -qE ' libraries/' ; then
3232 LIB=$( echo " $SKETCH_NAME " | sed -e ' s/.*libraries\///' -e ' s/\/.*//' )
3333 SKETCH=$( echo " $SKETCH_NAME " | sed -e ' s/.*libraries\/[^/]*\///' )
34- SUMMARY=" $ICON \` $LIB \` \` $SKETCH \` : $TEXT "
34+ SUMMARY=" $ICON <code> $LIB </code> <code> $SKETCH </code> : $TEXT "
3535 else
36- SUMMARY=" $ICON \` $SKETCH_NAME \` : $TEXT "
36+ SUMMARY=" $ICON <code> $SKETCH_NAME </code> : $TEXT "
3737 fi
3838 if [ $SKETCH_ISSUES_COUNT -ne 0 ] ; then
3939 SUMMARY=" ${SUMMARY} with ${SKETCH_ISSUES_COUNT} issues"
40- BODY=" \n\n\`\`\` \ n${SKETCH_ISSUES} \n\`\`\` \n"
40+ BODY=" \n\n\`\` \n${SKETCH_ISSUES} \n\`\`\` \n"
4141 else
4242 BODY=" "
4343 fi
@@ -70,7 +70,7 @@ for artifact in $ARTIFACTS ; do
7070 for i in $( seq 0 $(( SKETCH_COUNT - 1 )) ) ; do
7171 REPORT=$( echo $REPORTS | jq -cr " .[$i ]" )
7272 SKETCH_NAME=$( echo $REPORT | jq -cr ' .name' )
73- SKETCH_ISSUES=$( echo $REPORT | jq -cr ' .issues.[]' )
73+ SKETCH_ISSUES=$( echo $REPORT | jq -cr ' .issues.[]' | sed -e ' s/.*\(\(\/[^/]\+\)\{3\}\):/...\1:/ ' )
7474 SKETCH_ISSUES_COUNT=$( echo $REPORT | jq -cr ' .issues | length' )
7575 if ! $( echo $REPORT | jq -cr ' .compilation_success' ) ; then
7676 SKETCH_ERRORS=$(( SKETCH_ERRORS + 1 ))
You can’t perform that action at this time.
0 commit comments