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:38:02 -04:00 committed by GitHub
parent c9bfc0aecd
commit 0f8dcf3f17
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -35,7 +35,7 @@ func parsePomProperties(path string, reader io.Reader) (*pkg.PomProperties, erro
}
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 {