Improve error message when docs need fixing with Prettier (#17907)
This commit is contained in:
parent
c48584fb79
commit
a20c0eb626
1 changed files with 7 additions and 1 deletions
8
.github/workflows/docs.yml
vendored
8
.github/workflows/docs.yml
vendored
|
@ -20,5 +20,11 @@ jobs:
|
||||||
with:
|
with:
|
||||||
version: 9
|
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
|
working-directory: ./docs
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue