From e81db121ba2beda9348d54c43b80d04b87e5711a Mon Sep 17 00:00:00 2001 From: Wojtek Siudzinski Date: Sun, 28 Feb 2021 11:16:39 +0100 Subject: [PATCH] Allow unofficial plugins --- entrypoint.sh | 8 -------- 1 file changed, 8 deletions(-) diff --git a/entrypoint.sh b/entrypoint.sh index 023e697..d884057 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -38,14 +38,6 @@ esac # Install plugins if [ -n "$INPUT_PRETTIER_PLUGINS" ]; then - for plugin in $INPUT_PRETTIER_PLUGINS; do - echo "Checking plugin: $plugin" - # check regex against @prettier/xyz - if ! echo "$plugin" | grep -Eq '(@prettier\/)+(plugin-[a-z\-]+)'; then - echo "$plugin does not seem to be a valid @prettier/plugin-x plugin. Exiting." - exit 1 - fi - done npm install --silent --global $INPUT_PRETTIER_PLUGINS fi