diff --git a/src/prettier/install.sh b/src/prettier/install.sh index b610038..9e6ed67 100644 --- a/src/prettier/install.sh +++ b/src/prettier/install.sh @@ -4,4 +4,6 @@ npm install -g prettier@$VERSION # Prettier plugins are expected to be installed locally, not globally # In particular, VSCode + extensions tend to have issues with this -[[ -n $PLUGINS ]] && npm install -D $PLUGINS +if [[ -n $PLUGINS ]]; then + npm install -D $PLUGINS +fi