Skip to content

Commit aecb1b5

Browse files
Merge pull request #3 from ArturWincenciak/feat/add-diff-logs
Show diff of the re-formatted code that needs to be commited
2 parents 36a1c3e + f34f91a commit aecb1b5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

entrypoint.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,9 +112,10 @@ fi
112112
if [ "${INPUT_FAIL_ON_REFORMAT_NEEDED}" = "yes" ]; then
113113
echo ""
114114
echo "--- --- ---"
115-
echo "Exit with re-formatted code needed fail status"
115+
echo "Exit with re-formatted code needed fail status, down below is the diff of the re-formatted code that needs to be committed"
116116
echo "--- --- ---"
117117
echo ""
118+
git diff
118119
exit ${EXIT_WITH_FAST_FAIL}
119120
fi
120121

0 commit comments

Comments
 (0)