Skip to content

Commit

Permalink
ci: display git diff instead of status
Browse files Browse the repository at this point in the history
git diff explains better what changed than git status.

Signed-off-by: Paul <[email protected]>
  • Loading branch information
paul-marechal committed Mar 29, 2021
1 parent 57f0695 commit 9b98cf9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/check_git_status.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
if [ $(git status --porcelain | wc -c) -gt 0 ];
then
echo "\nERR: The git repository state changed after the build, this should not happen.\n"
git status
git --no-pager diff
echo "\nHINT: Did you update and commit your 'yarn.lock' ?"
echo "\n You can also check your '.gitgnore'."
exit 1
Expand Down

0 comments on commit 9b98cf9

Please sign in to comment.