add color

This commit is contained in:
Opportunity
2020-07-07 17:45:23 +08:00
Unverified
parent 53545576ba
commit e214cdf13b
+1 -1
View File
@@ -22,7 +22,7 @@ jobs:
# Ensure no changes
run: |
git add .
if ! git diff --cached --stat --exit-code; then
if ! git diff --cached --color=always --stat --exit-code; then
echo "##[error] Found changed files after build. Please 'yarn build && npm run format' and check in all changes."
exit 1
fi