fix(vet): go vet err of make build-scanner (#1248)

This commit is contained in:
Kota Kanbe
2021-06-09 08:00:52 +09:00
committed by GitHub
parent 82c1abfd3a
commit 0095c40e69
12 changed files with 22 additions and 4 deletions

View File

@@ -623,6 +623,7 @@ func (l *base) scanLibraries() (err error) {
return nil
}
// AnalyzeLibraries : detects libs defined in lockfile
func AnalyzeLibraries(ctx context.Context, libFilemap map[string][]byte) (libraryScanners []models.LibraryScanner, err error) {
disabledAnalyzers := []analyzer.Type{
analyzer.TypeAlpine,