mirror of
https://github.com/gitleaks/gitleaks.git
synced 2026-11-29 12:44:22 +01:00
cleaning up
This commit is contained in:
1 parent
c4da547503
commit
df8a2d35a8
4 files changed
+4
-8
No files matched your search
@@ -125,9 +125,6 @@ func (opts *Options) guard() error {
|
||||
}
|
||||
}
|
||||
|
||||
// if opts.Entropy > 8 {
|
||||
// return fmt.Errorf("The maximum level of entropy is 8")
|
||||
// }
|
||||
if opts.Report != "" {
|
||||
if !strings.HasSuffix(opts.Report, ".json") && !strings.HasSuffix(opts.Report, ".csv") {
|
||||
return fmt.Errorf("Report should be a .json or .csv file")
|
||||
|
||||
Reference in new issue
Block a user