mirror of
https://github.com/creyD/prettier_action.git
synced 2026-04-16 13:20:32 +02:00
fix: added variable declaration
This commit is contained in:
@@ -49,6 +49,7 @@ if [ -n "$INPUT_PRETTIER_PLUGINS" ]; then
|
|||||||
npm install --silent --global $INPUT_PRETTIER_PLUGINS
|
npm install --silent --global $INPUT_PRETTIER_PLUGINS
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
PRETTIER_RESULT=""
|
||||||
echo "Prettifying files..."
|
echo "Prettifying files..."
|
||||||
echo "Files:"
|
echo "Files:"
|
||||||
prettier $INPUT_PRETTIER_OPTIONS || { PRETTIER_RESULT=$?; echo "Problem running prettier with $INPUT_PRETTIER_OPTIONS"; }
|
prettier $INPUT_PRETTIER_OPTIONS || { PRETTIER_RESULT=$?; echo "Problem running prettier with $INPUT_PRETTIER_OPTIONS"; }
|
||||||
|
|||||||
Reference in New Issue
Block a user