aw-was-here commented on code in PR #261:
URL: https://github.com/apache/yetus/pull/261#discussion_r861079601


##########
precommit/src/main/shell/plugins.d/htmlout.sh:
##########
@@ -283,3 +297,39 @@ function htmlout_finalreport
 
   printf "<p>This message was automatically generated.</p>" >> "${commentfile}"
 }
+
+
+## @description  Write out an HTML version of the final report to a file
+## @audience     private
+## @stability    evolving
+## @replaceable  no
+## @param        runresult
+function htmlout_finalreport
+{
+  declare result=$1
+
+  rm "${commentfile}" 2>/dev/null

Review Comment:
   It might not exist due to a previous failure elsewhere.  That's ok and we 
don't want the error to go to console.



-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to