Files
sunnypilot/scripts/post-commit
Maxime Desroches 8ff2785fb9 add back pre-commit hook (#33366)
* add pre-commit

* space

* post

* e
old-commit-hash: b87414c749
2024-08-23 15:19:21 -07:00

8 lines
156 B
Bash
Executable File

#!/usr/bin/env bash
set -e
if [[ -f .git/hooks/post-commit.d/post-commit ]]; then
.git/hooks/post-commit.d/post-commit
fi
tools/op.sh lint --fast
echo ""