diff --git a/entrypoint.sh b/entrypoint.sh index 4c4efcd..00e3485 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -37,9 +37,8 @@ _git_push() { # PROGRAM echo "Installing prettier..." -if ! $INPUT_PRETTIER_VERSION; then +if ! "$INPUT_PRETTIER_VERSION"; then npm install --silent --global prettier - else npm install --silent --global prettier@$INPUT_PRETTIER_VERSION fi