Skip to content

Commit 00d6664

Browse files
committed
Update precommit
Signed-off-by: Ivan Boothe <[email protected]>
1 parent b6a05e9 commit 00d6664

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pre-commit.sh

+2-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,8 @@ echo "* ${BOLD}Testing and formatting:${NC}"
4747
# If using mulitple commands, append && to all but the last so if any one fails
4848
# it's accurately represented in the exit code.
4949
echo "$FILES" | xargs prettier --ignore-unknown --write &&
50-
echo "$FILES" | xargs git add
50+
echo "$FILES" | xargs git add &&
51+
shellcheck --check-sourced ./*.sh
5152

5253
# Capture exit code from tests
5354
status=$?

0 commit comments

Comments
 (0)