mirror of
https://github.com/gitleaks/gitleaks.git
synced 2026-11-29 20:54: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
+8
-6
@@ -6,18 +6,20 @@ import (
|
||||
"encoding/hex"
|
||||
"encoding/json"
|
||||
"fmt"
|
||||
"github.com/hako/durafmt"
|
||||
"github.com/mattn/go-colorable"
|
||||
log "github.com/sirupsen/logrus"
|
||||
"github.com/zricethezav/gitleaks/config"
|
||||
"github.com/zricethezav/gitleaks/options"
|
||||
"gopkg.in/src-d/go-git.v4"
|
||||
"os"
|
||||
"os/signal"
|
||||
"runtime"
|
||||
"sync"
|
||||
"text/tabwriter"
|
||||
"time"
|
||||
|
||||
"github.com/zricethezav/gitleaks/config"
|
||||
"github.com/zricethezav/gitleaks/options"
|
||||
|
||||
"github.com/hako/durafmt"
|
||||
"github.com/mattn/go-colorable"
|
||||
log "github.com/sirupsen/logrus"
|
||||
"gopkg.in/src-d/go-git.v4"
|
||||
)
|
||||
|
||||
// Manager is a struct containing options and configs as well CloneOptions and CloneDir.
|
||||
|
||||
Reference in new issue
Block a user