From 8d707905ec57c46621904e5c05d26468be390c91 Mon Sep 17 00:00:00 2001 From: Alex Bowers Date: Thu, 10 Aug 2023 11:38:18 +0100 Subject: [PATCH] Bug Fix --- entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/entrypoint.sh b/entrypoint.sh index 7f6272e..87c1ccf 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -167,7 +167,7 @@ git add . echo "[+] git status:" git status -if [ "$ALLOW_EMPTY_BRANCHES" = "false" ] && [ "$(git status)" = "nothing to commit, working tree clean" ] +if [ "$ALLOW_EMPTY_BRANCHES" = "false" ] && [ "$(git status --short | wc -l | xargs echo -n)" = "0" ] then echo "[~] No changes have been made" else