fabric8-analytics-vscode-extension icon indicating copy to clipboard operation
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`

Open ashokponkumar opened this issue 3 years ago • 0 comments

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:

  1. Checkout a project with only main package in cmd directory like say https://github.com/konveyor/move2kube
  2. 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

ashokponkumar avatar Aug 17 '21 20:08 ashokponkumar