diff --git a/entrypoint.sh b/entrypoint.sh index 1233bcb..92d3f64 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -1,4 +1,4 @@ -#!/bin/sh -l +#!/bin/sh # e is for exiting the script automatically if a command fails, u is for exiting if a variable is not set, x is for showing the commands before they are executed set -eux @@ -21,9 +21,7 @@ EOF echo "Installing prettier..." npm install --silent --global prettier echo "Prettifing files..." -prettier $INPUT_PRETTIER_OPTIONS || echo "Problem prettifing your files" - -ls +prettier $INPUT_PRETTIER_OPTIONS if ! git diff --quiet then