Use POSIX brackets instead

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

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