mirror of
https://github.com/creyD/prettier_action.git
synced 2026-04-15 04:40:33 +02:00
Use quotes when using [
This commit is contained in:
@@ -30,7 +30,7 @@ echo "Installing prettier..."
|
|||||||
case $INPUT_PRETTIER_VERSION in
|
case $INPUT_PRETTIER_VERSION in
|
||||||
false)
|
false)
|
||||||
npm install --silent --global prettier
|
npm install --silent --global prettier
|
||||||
if [ -n $INPUT_PRETTIER_PLUGINS ]; then
|
if [ -n "$INPUT_PRETTIER_PLUGINS" ]; then
|
||||||
npm install --silent --global $INPUT_PRETTIER_PLUGINS
|
npm install --silent --global $INPUT_PRETTIER_PLUGINS
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
|
|||||||
Reference in New Issue
Block a user