We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 4de1e47 + f2796b9 commit f2666a7Copy full SHA for f2666a7
1 file changed
.git-hooks/pre-commit
@@ -26,7 +26,7 @@ if git-staged "website/src/graphql/**.graphql" && ! git-staged "website/src/grap
26
fi
27
28
# Reqire frontend formatting
29
-if git-staged "website/*" && cd website && ! yarn prettier -c --config package.json src; then
+if git-staged "website/*" && cd website && yarn prettier -c --config package.json src; then
30
printf "Frontend code edited but not formatted.\nPlease run 'dev-check' \nor\n'cd website; prettier -w --config package.json src'.\n"
31
HOOKS_FAILED=1
32
0 commit comments