New Parameter Defaults To Null

This commit is contained in:
2020-03-24 09:56:43 +01:00
parent 565d7a7458
commit 65e822b2f3
2 changed files with 1 additions and 2 deletions

View File

@@ -29,7 +29,6 @@ inputs:
prettier_version:
description: Specific version of prettier (by default just use the latest version)
required: false
default: False
runs:
using: 'docker'

View File

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