removing validating config, already handled

This commit is contained in:
zach rice committed 2019-04-13 14:09:16 -05:00
1 parent df8a2d35a8
commit 87d6c588a6
3 files changed
+6 -12

No files matched your search

-4
View File
@@ -48,10 +48,6 @@ func Run(optsL *Options) (*Report, error) {
if err != nil {
return nil, err
}
if opts.ValidateConfig {
log.Info("valid gitleaks config")
return nil, nil
}
if opts.Disk {
// temporary directory where all the gitleaks plain clones will reside