mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-01-27 03:18:39 -06:00
Fix legacy commit-msg hooks
This commit is contained in:
@@ -27,7 +27,7 @@ else
|
||||
fi
|
||||
|
||||
# Run the legacy pre-commit if it exists
|
||||
if [ -x "$HERE"/{hook_type}.legacy ] && ! "$HERE"/{hook_type}.legacy; then
|
||||
if [ -x "$HERE"/{hook_type}.legacy ] && ! "$HERE"/{hook_type}.legacy "$@"; then
|
||||
retv=1
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user