Skip to content

Commit f2666a7

Browse files
author
Naomi Trevino
authored
Merge pull request #429 from NEU-DSG/fix-precommit-prettier
fix pre commit script typo
2 parents 4de1e47 + f2796b9 commit f2666a7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.git-hooks/pre-commit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ if git-staged "website/src/graphql/**.graphql" && ! git-staged "website/src/grap
2626
fi
2727

2828
# Reqire frontend formatting
29-
if git-staged "website/*" && cd website && ! yarn prettier -c --config package.json src; then
29+
if git-staged "website/*" && cd website && yarn prettier -c --config package.json src; then
3030
printf "Frontend code edited but not formatted.\nPlease run 'dev-check' \nor\n'cd website; prettier -w --config package.json src'.\n"
3131
HOOKS_FAILED=1
3232
fi

0 commit comments

Comments
 (0)