Skip to content

Commit

Permalink
Merge pull request #3 from ArturWincenciak/feat/add-diff-logs
Browse files Browse the repository at this point in the history
Show diff of the re-formatted code that needs to be commited
  • Loading branch information
ArturWincenciak authored Apr 2, 2024
2 parents 36a1c3e + f34f91a commit aecb1b5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -112,9 +112,10 @@ fi
if [ "${INPUT_FAIL_ON_REFORMAT_NEEDED}" = "yes" ]; then
echo ""
echo "--- --- ---"
echo "Exit with re-formatted code needed fail status"
echo "Exit with re-formatted code needed fail status, down below is the diff of the re-formatted code that needs to be committed"
echo "--- --- ---"
echo ""
git diff
exit ${EXIT_WITH_FAST_FAIL}
fi

Expand Down

0 comments on commit aecb1b5

Please sign in to comment.