From faaac4d2155bc195a8ee8a2715d8ecf8b31320e3 Mon Sep 17 00:00:00 2001 From: Conrad Date: Wed, 6 May 2020 10:39:52 +0200 Subject: [PATCH] Fixed git status call --- entrypoint.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/entrypoint.sh b/entrypoint.sh index 01d85a0..7f64c30 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -27,8 +27,7 @@ pip install -q autopep8 echo "Running autopep8..." autopep8 -i -r $INPUT_CHECKPATH $INPUT_OPTIONS || echo "Problem running autopep8!" -if -n "$(git status -s)"; -then +if [-n "$(git status -s)"]; then if $INPUT_DRY; then echo "Found non-compliant files!" exit 1