From 4a8632c1213a4f87aad5c3ef80ca2ac5a9bcfba5 Mon Sep 17 00:00:00 2001 From: Conrad Date: Sun, 17 Nov 2019 23:53:00 +0100 Subject: [PATCH] Fixed a bug where autopep8 parameters weren't noticed --- entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/entrypoint.sh b/entrypoint.sh index 4c8d9c8..13e7a2c 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -28,7 +28,7 @@ pip install -r $INPUT_DEPENDENCIES || echo "No dependency file found." # Apply PEP 8 echo "Running autopep8..." -autopep8 --in-place -r $INPUT_CHECKPATH ${INPUT_AUTOPARAMETERS:+"$INPUT_AUTOPARAMETERS"} || echo "Problem running autopep8." +autopep8 -i -r "$INPUT_CHECKPATH" ${INPUT_AUTOPARAMETERS:+"$INPUT_AUTOPARAMETERS"} || echo "Problem running autopep8." if ! git diff --quiet then