Skip to content

Commit aeee0e4

Browse files
committed
fix(hooks): add set -e to pre-commit hook to abort on security check failure
1 parent f504816 commit aeee0e4

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.husky/pre-commit

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#!/bin/sh
2+
set -e
23
# Optional checks - can be bypassed with --no-verify for fast local commits.
34
# Mandatory security checks ALSO run in pre-push hook.
45
#

0 commit comments

Comments
 (0)