Tried on a Python repository and I get a runtime failure.
panic: runtime error: slice bounds out of range [2:0]
goroutine 1 [running]:
github.com/advanced-security/gh-sbom/pkg/dependency-graph.makeQuery({0x7a1f08, 0xc000068440}, {0x7fffd27c522b, 0xf}, {0x7fffd27c523b, 0x4}, 0x0, 0x0, 0xc000101a70, 0xc00011b7e0)
github.com/advanced-security/gh-sbom/pkg/dependency-graph/client.go:86 +0x7c6
github.com/advanced-security/gh-sbom/pkg/dependency-graph.GetDependencies({0x7fffd27c522b, 0xf}, {0x7fffd27c523b, 0x4})
github.com/advanced-security/gh-sbom/pkg/dependency-graph/client.go:56 +0x1d3
main.main()
github.com/advanced-security/gh-sbom/main.go:179 +0x1df
Tried on a Python repository and I get a runtime failure.
panic: runtime error: slice bounds out of range [2:0]
goroutine 1 [running]:
github.com/advanced-security/gh-sbom/pkg/dependency-graph.makeQuery({0x7a1f08, 0xc000068440}, {0x7fffd27c522b, 0xf}, {0x7fffd27c523b, 0x4}, 0x0, 0x0, 0xc000101a70, 0xc00011b7e0)
github.com/advanced-security/gh-sbom/pkg/dependency-graph/client.go:86 +0x7c6
github.com/advanced-security/gh-sbom/pkg/dependency-graph.GetDependencies({0x7fffd27c522b, 0xf}, {0x7fffd27c523b, 0x4})
github.com/advanced-security/gh-sbom/pkg/dependency-graph/client.go:56 +0x1d3
main.main()
github.com/advanced-security/gh-sbom/main.go:179 +0x1df