mirror of
https://github.com/anchore/syft.git
synced 2025-11-17 16:33:21 +01:00
Update imgbom/cataloger/java/java_manifest.go
Co-authored-by: Alfredo Deza <adeza@anchore.com>
This commit is contained in:
parent
1f89d26902
commit
40f8e3a7de
@ -50,7 +50,7 @@ func parseJavaManifest(reader io.Reader) (*pkg.JavaManifest, error) {
|
||||
}
|
||||
|
||||
if err := scanner.Err(); err != nil {
|
||||
return nil, fmt.Errorf("unable read java manifest: %w", err)
|
||||
return nil, fmt.Errorf("unable to read java manifest: %w", err)
|
||||
}
|
||||
|
||||
if err := mapstructure.Decode(manifestMap, &manifest); err != nil {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user