fix(report): fix too many variables while reporting (#888)

This commit is contained in:
Kota Kanbe
2019-08-25 17:56:47 +09:00
committed by GitHub
parent dec5d3b165
commit 1fbd516b83
11 changed files with 121 additions and 261 deletions

View File

@@ -3,9 +3,9 @@ package models
import (
"testing"
godeptypes "github.com/knqyf263/go-dep-parser/pkg/types"
"github.com/knqyf263/trivy/pkg/db"
"github.com/knqyf263/trivy/pkg/log"
godeptypes "github.com/aquasecurity/go-dep-parser/pkg/types"
"github.com/aquasecurity/trivy/pkg/db"
"github.com/aquasecurity/trivy/pkg/log"
)
func TestScan(t *testing.T) {
@@ -28,7 +28,7 @@ func TestScan(t *testing.T) {
},
}
if err := log.InitLogger(false); err != nil {
if err := log.InitLogger(false, false); err != nil {
t.Errorf("trivy logger failed")
}