Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

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

Peter Trippa20c0eb62648
diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml
index be0f3c5a823..13fe0411a02 100644
--- a/.github/workflows/docs.yml
+++ b/.github/workflows/docs.yml
@@ -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