Add set -e to hook scripts to exit on fail

MAILPOET-4237
This commit is contained in:
John Oleksowicz
2024-01-31 13:57:24 -06:00
committed by John Oleksowicz
parent 52397951d8
commit fcc4be330c
3 changed files with 6 additions and 0 deletions

View File

@ -1,5 +1,7 @@
#!/bin/sh
set -e
source $PWD/.env
if [ "$MP_GIT_HOOKS_ENABLE" != "true" ]; then

View File

@ -1,5 +1,7 @@
#!/bin/sh
set -e
source $PWD/.env
if [ "$MP_GIT_HOOKS_ENABLE" != "true" ]; then

View File

@ -1,5 +1,7 @@
#!/bin/sh
set -e
source $PWD/.env
if [ "$MP_GIT_HOOKS_ENABLE" != "true" ]; then