From 3aac0062d0413bc9888eed56dca479d5e4eb45dd Mon Sep 17 00:00:00 2001 From: Conrad Date: Fri, 15 Nov 2019 00:37:42 +0100 Subject: [PATCH] Added error catch for the dependency option --- entrypoint.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/entrypoint.sh b/entrypoint.sh index 429f9be..f0706a0 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -24,11 +24,11 @@ pip install -q --upgrade pip pip install -q autopep8 # Install custom project dependencies if applicable -pip install -r $INPUT_DEPENDENCIES +pip install -r $INPUT_DEPENDENCIES || echo "No dependency file found." # Apply PEP 8 echo "Running autopep8..." -autopep8 --in-place -r . +autopep8 --in-place -r . || echo "Problem running autopep8." if ! git diff --quiet then