From f852cea42f068d8a56b40ab71289778c7b34011c Mon Sep 17 00:00:00 2001 From: "Sebastian K. Sorensen" Date: Sun, 10 Jan 2021 14:52:20 +0100 Subject: [PATCH] Change check of variable --- entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/entrypoint.sh b/entrypoint.sh index b9fb0c9..8cabb43 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -30,7 +30,7 @@ echo "Installing prettier..." case $INPUT_PRETTIER_VERSION in false) npm install --silent --global prettier - if $INPUT_PRETTIER_PLUGINS; then + if [[ -n $INPUT_PRETTIER_PLUGINS ]]; then npm install --silent --global $INPUT_PRETTIER_PLUGINS fi ;;