Skip to content

Commit

Permalink
fix: force colorful output for status and diff
Browse files Browse the repository at this point in the history
  • Loading branch information
BD103 committed Nov 1, 2024
1 parent 09e3f89 commit 571ad1e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,10 @@ jobs:
if [[ $(git status --porcelain) ]]; then
echo '::error title=Rebuilt Javascript bundles and found a different output.::Did you run `pnpm build`?'
git status
git diff
# Force colorful output for these commands, since a human and not a machine is meant to
# read them.
git -c color.ui=always status
git -c color.ui=always diff
exit 1
else
Expand Down

0 comments on commit 571ad1e

Please sign in to comment.