mirror of
https://github.com/anchore/syft.git
synced 2025-11-17 16:33:21 +01:00
Update imgbom/cataloger/java/pom_properties.go
Co-authored-by: Alfredo Deza <adeza@anchore.com>
This commit is contained in:
parent
c9bfc0aecd
commit
0f8dcf3f17
@ -35,7 +35,7 @@ func parsePomProperties(path string, reader io.Reader) (*pkg.PomProperties, erro
|
|||||||
}
|
}
|
||||||
|
|
||||||
if err := scanner.Err(); err != nil {
|
if err := scanner.Err(); err != nil {
|
||||||
return nil, fmt.Errorf("unable read pom.properties: %w", err)
|
return nil, fmt.Errorf("unable to read pom.properties: %w", err)
|
||||||
}
|
}
|
||||||
|
|
||||||
if err := mapstructure.Decode(propMap, &props); err != nil {
|
if err := mapstructure.Decode(propMap, &props); err != nil {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user