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

This commit is contained in:
Peter Tripp authored and GitHub committed 2024-09-17 10:06:33 -04:00
1 parent 22a1c4d889
commit 190f3ecb7a
1 file changed
+7 -1
+7 -1
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