mirror of
https://github.com/OpenHands/OpenHands.git
synced 2025-12-25 21:36:52 +08:00
Co-authored-by: openhands <openhands@all-hands.dev> Co-authored-by: sp.wack <83104063+amanape@users.noreply.github.com> Co-authored-by: Engel Nyst <enyst@users.noreply.github.com>
12 lines
298 B
Bash
12 lines
298 B
Bash
#!/bin/bash
|
|
# This hook was installed by OpenHands
|
|
# It calls the pre-commit script in the .openhands directory
|
|
|
|
if [ -x ".openhands/pre-commit.sh" ]; then
|
|
source ".openhands/pre-commit.sh"
|
|
exit $?
|
|
else
|
|
echo "Warning: .openhands/pre-commit.sh not found or not executable"
|
|
exit 0
|
|
fi
|