Update imgbom/cataloger/java/pom_properties.go

Co-authored-by: Alfredo Deza <adeza@anchore.com>
This commit is contained in:
Alex Goodman 2020-07-09 11:37:45 -04:00 committed by GitHub
parent 40f8e3a7de
commit c9bfc0aecd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -39,7 +39,7 @@ func parsePomProperties(path string, reader io.Reader) (*pkg.PomProperties, erro
}
if err := mapstructure.Decode(propMap, &props); err != nil {
return nil, fmt.Errorf("unable parse pom.propertoes: %w", err)
return nil, fmt.Errorf("unable to parse pom.properties: %w", err)
}
props.Path = path