We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 313c139 commit fc9213fCopy full SHA for fc9213f
routers/private/hook_pre_receive.go
@@ -28,8 +28,10 @@ import (
28
pull_service "code.gitea.io/gitea/services/pull"
29
30
"github.com/gitleaks/go-gitdiff/gitdiff"
31
+ "github.com/rs/zerolog"
32
"github.com/zricethezav/gitleaks/v8/cmd/scm"
33
gitleaks "github.com/zricethezav/gitleaks/v8/detect"
34
+ gitleaks_log "github.com/zricethezav/gitleaks/v8/logging"
35
)
36
37
type preReceiveContext struct {
@@ -634,3 +636,7 @@ func (g *giteacmd) ErrCh() <-chan error {
634
636
func (g *giteacmd) Wait() (err error) {
635
637
return nil
638
}
639
+
640
+func init() {
641
+ gitleaks_log.Logger = zerolog.Nop()
642
+}
0 commit comments