mirror of
https://github.com/gitleaks/gitleaks.git
synced 2026-11-29 20:54:22 +01:00
handle goimports/go vet warnings
This commit is contained in:
1 parent
57d2d345b6
commit
8b70e7fc2f
12 files changed
+178
-127
No files matched your search
@@ -63,7 +63,11 @@ func TestWriteSarif(t *testing.T) {
|
||||
}
|
||||
|
||||
var vc config.ViperConfig
|
||||
viper.Unmarshal(&vc)
|
||||
err = viper.Unmarshal(&vc)
|
||||
if err != nil {
|
||||
t.Error(err)
|
||||
}
|
||||
|
||||
cfg, err := vc.Translate()
|
||||
if err != nil {
|
||||
t.Error(err)
|
||||
|
||||
Reference in new issue
Block a user