Improve error message when docs need fixing with Prettier (#17907)

This commit is contained in:
Peter Tripp 2024-09-17 10:06:33 -04:00 committed by GitHub
parent c48584fb79
commit a20c0eb626
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -20,5 +20,11 @@ jobs:
with:
version: 9
- run: pnpm dlx prettier . --check
- run: |
pnpm dlx prettier . --check || {
echo "To fix, run from the root of the zed repo:"
echo " cd docs && pnpm dlx prettier . --write && cd .."
false
}
working-directory: ./docs