From b7cafb8b4015a7546096e3744cc883c977950694 Mon Sep 17 00:00:00 2001 From: bendn Date: Thu, 29 Sep 2022 18:46:02 +0700 Subject: [PATCH] fix(diff.sh): remove simmilarity.py after use --- diff.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/diff.sh b/diff.sh index 3dcca4f8..1294c164 100755 --- a/diff.sh +++ b/diff.sh @@ -50,6 +50,7 @@ echo -e "]\nprint(round(abs(avg(ls * 100) - 100), 3))" >>simmilarity.py [[ -f "$GITHUB_STEP_SUMMARY" ]] && echo "# $(./simmilarity.py)% similar" >"$GITHUB_STEP_SUMMARY" echo "[average]: $(./simmilarity.py)% similar" +rm ./simmilarity.py [[ -n "$errors" ]] && exit 1 # for github actions to report a failure