fabric8-analytics-vscode-extension
fabric8-analytics-vscode-extension copied to clipboard
[BUG] When a go project does not have main package in base directory, the check fails with `Unable to execute 'go list' command, run 'go mod tidy' to know more`
Describe the bug
[BUG] When a go project does not have main package in base directory, the check fails with Unable to execute 'go list' command, run 'go mod tidy' to know more
To Reproduce Steps to reproduce the behavior:
- Checkout a project with only main package in cmd directory like say
https://github.com/konveyor/move2kube
- The Dependency analysis plugin will now say
Unable to execute 'go list' command, run 'go mod tidy' to know more
Expected behavior
The plugin should look for main package in sub packages using say go list ./...
VSCode(please complete the following information):
- OS: macOS
- VSCode version: 1.59.0
- Dependency Analytics Version: 0.3.3