mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-02-18 20:03:53 +08:00
add back pre-commit hook (#33366)
* add pre-commit
* space
* post
* e
old-commit-hash: b87414c749
This commit is contained in:
7
scripts/post-commit
Executable file
7
scripts/post-commit
Executable file
@@ -0,0 +1,7 @@
|
||||
#!/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 ""
|
||||
Reference in New Issue
Block a user