fix check
This commit is contained in:
@@ -22,8 +22,7 @@ jobs:
|
|||||||
# Ensure no changes
|
# Ensure no changes
|
||||||
run: |
|
run: |
|
||||||
git add .
|
git add .
|
||||||
if git diff --cached --stat --exit-code; then
|
if ! git diff --cached --stat --exit-code; then
|
||||||
else
|
|
||||||
echo "##[error] Found changed files after build. Please 'yarn build && npm run format' and check in all changes."
|
echo "##[error] Found changed files after build. Please 'yarn build && npm run format' and check in all changes."
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
Reference in New Issue
Block a user