mirror of
https://github.com/gitleaks/gitleaks.git
synced 2026-11-28 20:24:22 +01:00
recover on panic in patch generation, full filepath for report, version message if not built with LDFLAGS
This commit is contained in:
1 parent
b6f726654e
commit
cfac551ab8
9 files changed
+80
-53
No files matched your search
+7
-5
@@ -2,18 +2,20 @@ package hosts
|
||||
|
||||
import (
|
||||
"context"
|
||||
"github.com/google/go-github/github"
|
||||
log "github.com/sirupsen/logrus"
|
||||
"strconv"
|
||||
"strings"
|
||||
"sync"
|
||||
|
||||
"github.com/zricethezav/gitleaks/audit"
|
||||
"github.com/zricethezav/gitleaks/manager"
|
||||
"github.com/zricethezav/gitleaks/options"
|
||||
|
||||
"github.com/google/go-github/github"
|
||||
log "github.com/sirupsen/logrus"
|
||||
"golang.org/x/oauth2"
|
||||
"gopkg.in/src-d/go-git.v4"
|
||||
"gopkg.in/src-d/go-git.v4/plumbing"
|
||||
"gopkg.in/src-d/go-git.v4/plumbing/object"
|
||||
"strconv"
|
||||
"strings"
|
||||
"sync"
|
||||
)
|
||||
|
||||
// Github wraps a github client and manager. This struct implements what the Host interface defines.
|
||||
|
||||
Reference in new issue
Block a user