mirror of
https://github.com/anchore/syft.git
synced 2026-11-05 00:46:38 +01:00
Associate node package licenses from node_modules (#1152)
This commit is contained in:
@@ -12,7 +12,7 @@ import (
|
||||
// EX: gpl-2.0.0-only ---> GPL-2.0-only
|
||||
// See the debian link for more details on the spdx license differences
|
||||
|
||||
//go:generate go run generate/generate_license_list.go
|
||||
//go:generate go run ./generate
|
||||
|
||||
func ID(id string) (string, bool) {
|
||||
value, exists := licenseIDs[strings.ToLower(id)]
|
||||
|
||||
Reference in New Issue
Block a user