mirror of
https://github.com/gitleaks/gitleaks.git
synced 2026-11-29 20:54:22 +01:00
Config min version (#1955)
* init * minVersion set * sigh * addressed some comments, fixed double validate bug
This commit is contained in:
1 parent
d22371873b
commit
3821f30b06
9 files changed
+84
-6
No files matched your search
+2
-1
@@ -19,6 +19,7 @@ import (
|
||||
"github.com/zricethezav/gitleaks/v8/logging"
|
||||
"github.com/zricethezav/gitleaks/v8/regexp"
|
||||
"github.com/zricethezav/gitleaks/v8/report"
|
||||
"github.com/zricethezav/gitleaks/v8/version"
|
||||
)
|
||||
|
||||
const banner = `
|
||||
@@ -42,7 +43,7 @@ var (
|
||||
rootCmd = &cobra.Command{
|
||||
Use: "gitleaks",
|
||||
Short: "Gitleaks scans code, past or present, for secrets",
|
||||
Version: Version,
|
||||
Version: version.Version,
|
||||
}
|
||||
|
||||
// diagnostics manager is global to ensure it can be started before a scan begins
|
||||
|
||||
Reference in new issue
Block a user