diff --git a/mailpoet/tasks/lint-staged-php.sh b/mailpoet/tasks/lint-staged-php.sh index eecff3f961..d6a6ac9aa8 100755 --- a/mailpoet/tasks/lint-staged-php.sh +++ b/mailpoet/tasks/lint-staged-php.sh @@ -2,7 +2,7 @@ set -e -source $PWD/.env +. $PWD/.env if [ "$MP_GIT_HOOKS_ENABLE" != "true" ]; then echo "MP_GIT_HOOKS_ENABLE is not set to 'true'. Skipping lint-staged-php."