diff options
-rw-r--r-- | extras/hs-test/hs_test.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/extras/hs-test/hs_test.sh b/extras/hs-test/hs_test.sh index 5d94ea88ede..85c0dd72705 100644 --- a/extras/hs-test/hs_test.sh +++ b/extras/hs-test/hs_test.sh @@ -140,4 +140,8 @@ Full Back Trace: "\nFull Stack Trace: \(.Failure.Location.FullStackTrace)\n" end) end)' summary/report.json > summary/failed-summary.log \ && echo "Summary generated -> summary/failed-summary.log" +else + if [ -e "summary/failed-summary.log" ]; then + rm summary/failed-summary.log + fi fi |