syft some-jar.jar
fails to find packages if PWD is a symlink
#2355
Labels
bug
Something isn't working
syft some-jar.jar
fails to find packages if PWD is a symlink
#2355
What happened:
Scanning a jar with syft fails to find the jar itself if the current working directory is a symlink prints "no packages discovered."
Prints
No packages discovered
.What you expected to happen:
I expected at least the jar itself to be found.
Steps to reproduce the issue:
The first syft invocation finds nothing, but the second one finds the jar.
Anything else we need to know?:
I discovered this because
/tmp
on newer macOS installations is a symlink.Environment:
syft version
:cat /etc/os-release
or similar):The text was updated successfully, but these errors were encountered: