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
It's unclear exactly why it errors, but it seems to be validating that the file is in the correct file path according to the package path. But with a replace directive, there are two copies of this dependency, one in ./vendor/github.com/GoogleContainerTools/kpt, vendored from ./internal/third_party/github.com/GoogleContainerTools/kpt.
The text was updated successfully, but these errors were encountered:
FWIW, I was able to work around this issue by using --ignore on the vendored path (./vendor/github.com/GoogleContainerTools/kpt), but I'd rather not have to.
When using a replace directive in go.mod to point to a repo-local directory, like
./third_party/
,go-licenses check ./vendor/...
errors.Example error:
The replace directive used:
It's unclear exactly why it errors, but it seems to be validating that the file is in the correct file path according to the package path. But with a replace directive, there are two copies of this dependency, one in
./vendor/github.com/GoogleContainerTools/kpt
, vendored from./internal/third_party/github.com/GoogleContainerTools/kpt
.The text was updated successfully, but these errors were encountered: