From 565d7a7458de689340f1caf8e44fadcdc9ed5a8a Mon Sep 17 00:00:00 2001 From: Conrad Date: Tue, 24 Mar 2020 09:51:18 +0100 Subject: [PATCH] Attempt 2 on fixing the bug with the new version parameter --- entrypoint.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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