Closed sadikkuzu closed 2 years ago
This should be fixed in 1.12.3. Thanks!
[INFO] Initializing environment for https://github.com/homebysix/pre-commit-macadmin.
[INFO] Installing environment for https://github.com/homebysix/pre-commit-macadmin.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
check python ast.........................................................Passed
check BOM - deprecated: use fix-byte-order-marker........................Passed
check for case conflicts.................................................Passed
check docstring is first.................................................Passed
check that executables have shebangs.....................................Passed
check for merge conflicts................................................Passed
check yaml...............................................................Passed
fix end of files.........................................................Passed
fix python encoding pragma...............................................Passed
mixed line ending........................................................Passed
don't commit to branch...................................................Passed
trim trailing whitespace.................................................Passed
black....................................................................Passed
Check Git Config Email...................................................Failed
- hook id: check-git-config-email
- exit code: 1
Git config email is not set.
+ git config --global user.email
+ echo 1
1
When
git config --get user.email
returns non-zero exit status, check-git-config-email should handle this situation.To reproduce: