Skip to content

Commit

Permalink
feat: show exact diff when reformatting needed
Browse files Browse the repository at this point in the history
Co-authored-by: Ramy <[email protected]>
  • Loading branch information
vil02 and Ramy-Badr-Ahmed committed Sep 25, 2024
1 parent 08c604b commit 0125b75
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/check_code_format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ jobs:
if [[ $(git status --porcelain) ]]; then
echo "please reformat/fprettify these files:"
git status --porcelain=v1
echo "exact diff:"
fprettify --indent 4 --recursive --diff . 2>&1
exit 1
fi
...

0 comments on commit 0125b75

Please sign in to comment.