Associate node package licenses from node_modules (#1152)

This commit is contained in:
Keith Zantow
2022-08-16 14:14:02 -04:00
committed by GitHub
parent d1390b315e
commit 21eb772060
9 changed files with 309 additions and 9 deletions
+1 -1
View File
@@ -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)]