From 33b1eff4868f0d24505c861832dddc3cbb306bbf Mon Sep 17 00:00:00 2001 From: "Sebastian K. Sorensen" Date: Sun, 10 Jan 2021 16:41:47 +0100 Subject: [PATCH] Fix issue with if statement --- entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/entrypoint.sh b/entrypoint.sh index 32e83d1..44e8a09 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -41,7 +41,7 @@ if [ -n "$INPUT_PRETTIER_PLUGINS" ]; then for plugin in $INPUT_PRETTIER_PLUGINS; do # check regex against @prettier/xyz REGEX = '(@prettier\/)+(plugin-[a-z\-]+)' - if ! [ "$plugin" =~ "$REGEX" ] + if ! [ "$plugin" =~ "$REGEX" ]; then echo "Specified plugins does not seem to be valid @prettier/x plugins." exit 1 fi