We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b6a05e9 commit 00d6664Copy full SHA for 00d6664
pre-commit.sh
@@ -47,7 +47,8 @@ echo "* ${BOLD}Testing and formatting:${NC}"
47
# If using mulitple commands, append && to all but the last so if any one fails
48
# it's accurately represented in the exit code.
49
echo "$FILES" | xargs prettier --ignore-unknown --write &&
50
- echo "$FILES" | xargs git add
+ echo "$FILES" | xargs git add &&
51
+ shellcheck --check-sourced ./*.sh
52
53
# Capture exit code from tests
54
status=$?
0 commit comments