diff --git a/entrypoint.sh b/entrypoint.sh index ba317d1..01d85a0 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -27,7 +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)" ]]; +if -n "$(git status -s)"; then if $INPUT_DRY; then echo "Found non-compliant files!"