You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have manifests which contain something like this. The line is leading with a blank, so it is not an empty line which should trigger the section change. I guess removing the Trim would fix this problem ($ denotes line end):
Key-keykeykey: initialconfig:com/seeburger/aqmtestclient/aqmtestclient$
,$
line1,$
line2,$
$ # aka not empty line
line3,$
That value (especially line break semantics) is not so important for the analysis, but the warnings are annoying.
The text was updated successfully, but these errors were encountered:
I think this might be as simple as removing the strings.TrimSpace, however, this needs to be verified.
Dev note: for the person picking this up, on top of fixing the correctness issue we should also try and improve the manifest parser to not log too many warnings under these conditions (be a little more resilient) .
syft/syft/pkg/cataloger/java/parse_java_manifest.go
Line 35 in 8f57d22
We have manifests which contain something like this. The line is leading with a blank, so it is not an empty line which should trigger the section change. I guess removing the Trim would fix this problem ($ denotes line end):
That value (especially line break semantics) is not so important for the analysis, but the warnings are annoying.
The text was updated successfully, but these errors were encountered: