Chore: Fix lefthook not running (#106196)

Chore: Fix lefthook.rc
pull/106214/head
Josh Hunt 4 weeks ago committed by GitHub
parent 087934fab0
commit 27ab895eef
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      lefthook.rc

@ -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 "$@"
}

Loading…
Cancel
Save