mirror of
https://github.com/creyD/prettier_action.git
synced 2026-04-12 19:30:30 +02:00
other: improves the log output by not having and out of range message
This commit is contained in:
@@ -49,7 +49,7 @@ if [ -n "$INPUT_PRETTIER_PLUGINS" ]; then
|
||||
npm install --silent --global $INPUT_PRETTIER_PLUGINS
|
||||
fi
|
||||
|
||||
PRETTIER_RESULT=""
|
||||
PRETTIER_RESULT=0
|
||||
echo "Prettifying files..."
|
||||
echo "Files:"
|
||||
prettier $INPUT_PRETTIER_OPTIONS || { PRETTIER_RESULT=$?; echo "Problem running prettier with $INPUT_PRETTIER_OPTIONS"; }
|
||||
|
||||
Reference in New Issue
Block a user