Use quotes when using [

This commit is contained in:
Sebastian K. Sorensen
2021-01-10 15:57:48 +01:00
parent 0faaf9bad1
commit 1015fa1aaf

View File

@@ -30,7 +30,7 @@ echo "Installing prettier..."
case $INPUT_PRETTIER_VERSION in
false)
npm install --silent --global prettier
if [ -n $INPUT_PRETTIER_PLUGINS ]; then
if [ -n "$INPUT_PRETTIER_PLUGINS" ]; then
npm install --silent --global $INPUT_PRETTIER_PLUGINS
fi
;;