infraio commented on a change in pull request #67: YETUS-896 Add an emoji 
column to the github vote table
URL: https://github.com/apache/yetus/pull/67#discussion_r306591732
 
 

 ##########
 File path: precommit/src/main/shell/test-patch.d/github.sh
 ##########
 @@ -610,9 +610,11 @@ function github_finalreport
     comment=$(echo "${ourstring}"  | cut -f5 -d\|)
 
     if [[ "${vote}" = "H" ]]; then
-      echo "||| _${comment}_ |" >> "${commentfile}"
+      echo "|||| _${comment}_ |" >> "${commentfile}"
+    elif [[ "${vote}" = "-1" ]]; then
+      echo "| :broken_heart: ${TP_VOTE_TABLE[${i}]}" >> "${commentfile}"
     else
-      echo "${TP_VOTE_TABLE[${i}]}" >> "${commentfile}"
+      echo "| :+1: ${TP_VOTE_TABLE[${i}]}" >> "${commentfile}"
 
 Review comment:
   If we use different emoji for these vote. I thought we should use emoji + 
text vote both.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to