Change check of variable

This commit is contained in:
Sebastian K. Sorensen
2021-01-10 14:52:20 +01:00
parent 7ea4328121
commit f852cea42f

View File

@@ -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
;;