mirror of
https://github.com/creyD/prettier_action.git
synced 2026-04-12 19:30:30 +02:00
Added debug for prettier test result in the log
This commit is contained in:
@@ -74,6 +74,8 @@ echo "Files:"
|
|||||||
prettier $INPUT_PRETTIER_OPTIONS \
|
prettier $INPUT_PRETTIER_OPTIONS \
|
||||||
|| { PRETTIER_RESULT=$?; echo "Problem running prettier with $INPUT_PRETTIER_OPTIONS"; exit 1; }
|
|| { PRETTIER_RESULT=$?; echo "Problem running prettier with $INPUT_PRETTIER_OPTIONS"; exit 1; }
|
||||||
|
|
||||||
|
echo "Prettier result: $PRETTIER_RESULT"
|
||||||
|
|
||||||
# Removing the node_modules folder, so it doesn't get committed if it is not added in gitignore
|
# Removing the node_modules folder, so it doesn't get committed if it is not added in gitignore
|
||||||
if $INPUT_CLEAN_NODE_FOLDER; then
|
if $INPUT_CLEAN_NODE_FOLDER; then
|
||||||
echo "Deleting node_modules/ folder..."
|
echo "Deleting node_modules/ folder..."
|
||||||
|
|||||||
Reference in New Issue
Block a user