Chore: Fix lefthook not running (#106196)

Chore: Fix lefthook.rc
This commit is contained in:
Josh Hunt
2025-05-29 11:06:33 +02:00
committed by GitHub
parent 087934fab0
commit 27ab895eef
+1 -1
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 "$@"
}