mirror of https://github.com/PCSX2/pcsx2.git
GHActions: Improve failure message for prettier lint failures
This commit is contained in:
parent
a28328dd96
commit
c9099f3a2f
|
@ -35,4 +35,9 @@ jobs:
|
|||
|
||||
- name: Check Formatting
|
||||
run: |
|
||||
prettier --check ./bin/resources/GameIndex.yaml
|
||||
if ! prettier --check bin/resources/GameIndex.yaml; then
|
||||
prettier --write bin/resources/GameIndex.yaml
|
||||
echo "Prettier failed, diff:"
|
||||
git diff bin/resources/GameIndex.yaml
|
||||
exit 1
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue