Skip to content

Commit b00198f

Browse files
committed
Still trying to get prettier to run on precommit
Signed-off-by: Ivan Boothe <[email protected]>
1 parent e1a2593 commit b00198f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pre-commit.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,9 @@ echo "* ${BOLD}Testing and formatting:${NC}"
4444

4545
# If using mulitple commands, append && to all but the last so if any one fails
4646
# it's accurately represented in the exit code.
47-
GLOBIGNORE='**/boilerplate/**:boilerplate/**' &&
48-
shellcheck --check-sourced ./*.sh &&
49-
prettier --write .
47+
prettier --write . &&
48+
GLOBIGNORE='**/boilerplate/**:boilerplate/**' &&
49+
shellcheck --check-sourced ./*.sh
5050

5151
# Capture exit code from tests
5252
status=$?

0 commit comments

Comments
 (0)