Chore: Fix lefthook not running (#106196)

Chore: Fix lefthook.rc
This commit is contained in:
Josh Hunt 2025-05-29 10:06:33 +01:00 committed by GitHub
parent 087934fab0
commit 27ab895eef
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -2,5 +2,5 @@
# the name `lefthook`, as expected by the lefthook pre-commit scripts
lefthook () {
GOWORK=off go tool -n -modfile=.citools/src/lefthook/go.mod github.com/evilmartians/lefthook
GOWORK=off go tool -modfile=.citools/src/lefthook/go.mod github.com/evilmartians/lefthook "$@"
}