mirror of
https://github.com/anchore/syft.git
synced 2026-11-01 23:16:30 +01:00
feat: improved java maven property resolution (#2769)
Signed-off-by: Gijs Calis <51088038+GijsCalis@users.noreply.github.com> Signed-off-by: Keith Zantow <kzantow@gmail.com> Co-authored-by: Keith Zantow <kzantow@gmail.com>
This commit is contained in:
co-authored by
Keith Zantow
parent
cc15edca62
commit
9d40d1152e
@@ -21,7 +21,7 @@ type LicenseEvidence struct {
|
||||
func NewLicense(value string) License {
|
||||
spdxExpression, err := license.ParseExpression(value)
|
||||
if err != nil {
|
||||
log.Trace("unable to parse license expression: %s, %w", value, err)
|
||||
log.WithFields("error", err, "value", value).Trace("unable to parse license expression")
|
||||
}
|
||||
|
||||
return License{
|
||||
|
||||
Reference in New Issue
Block a user