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
wagoodman
changed the title
interface {} is nil, not float64 in parse_package_resolved.go:70
Invalid interface conversion in Swift cataloger
Oct 12, 2023
What happened:
When parsing an empty file named
Package.resolved
(for Swift / iOS), I got an error message:What you expected to happen:
No error would have happened.
An empty file should have been simply skipped, as there's nothing interesting in it.
Steps to reproduce the issue:
mkdir /tmp/syft-error touch /tmp/syft-error/Package.resolved syft packages dir:/tmp/syft-error 2>/dev/null
Anything else we need to know?:
Environment:
syft version
: 0.93.0cat /etc/os-release
or similar): Ubuntu 22.04.3 LTSThe text was updated successfully, but these errors were encountered: