mirror of
https://github.com/creyD/prettier_action.git
synced 2026-04-15 12:50:31 +02:00
Attempt 2 on fixing the bug with the new version parameter
This commit is contained in:
@@ -37,9 +37,8 @@ _git_push() {
|
|||||||
|
|
||||||
# PROGRAM
|
# PROGRAM
|
||||||
echo "Installing prettier..."
|
echo "Installing prettier..."
|
||||||
if ! $INPUT_PRETTIER_VERSION; then
|
if ! "$INPUT_PRETTIER_VERSION"; then
|
||||||
npm install --silent --global prettier
|
npm install --silent --global prettier
|
||||||
|
|
||||||
else
|
else
|
||||||
npm install --silent --global prettier@$INPUT_PRETTIER_VERSION
|
npm install --silent --global prettier@$INPUT_PRETTIER_VERSION
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user