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 see an issue when running LicenseFinder against our codebase as we are pulling in a dependency that contains multiple go files with different packages in the same folder.
$ license_finder report
can't load package: package ./src/github.com/docker/libcompose/hack: found packages main (inline_schema.go) and config (schema_template.go)`
/Users/<username>/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/license_finder-3.0.2/lib/license_finder/package_managers/go_workspace.rb:77:in `block in go_list': go list failed (RuntimeError)
The text was updated successfully, but these errors were encountered:
Digging a bit, it seems that Golang code shouldn't have multiple packages in a single directory. I opened issue #499 in the libcompose repo. I'll look around for something that might allow LF to handle this condition a bit more gracefully.
We see an issue when running LicenseFinder against our codebase as we are pulling in a dependency that contains multiple go files with different packages in the same folder.
For reproducing the bug, here's the repo we are pulling in: https://github.com/docker/libcompose.
The folder that causes the error is:
hack
.The error we see is:
The text was updated successfully, but these errors were encountered: