mirror of
https://github.com/creyD/prettier_action.git
synced 2026-04-12 19:30:30 +02:00
Use quotes when using [
This commit is contained in:
@@ -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
|
||||
;;
|
||||
|
||||
Reference in New Issue
Block a user