Attempt 2 on fixing the bug with the new version parameter

This commit is contained in:
2020-03-24 09:51:18 +01:00
parent 66441c9ff3
commit 565d7a7458

View File

@@ -37,9 +37,8 @@ _git_push() {
# PROGRAM
echo "Installing prettier..."
if ! $INPUT_PRETTIER_VERSION; then
if ! "$INPUT_PRETTIER_VERSION"; then
npm install --silent --global prettier
else
npm install --silent --global prettier@$INPUT_PRETTIER_VERSION
fi