x/vgo: list -e doesn't continue after errors #24149
Labels
FrozenDueToAge
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
When I run the
go list
command with the-e
flag, it succeeds even if the package is erroneous (for example if there are no Go files in the package directory.This does not seem to be the case with vgo.
For example:
With the go command:
This means that a standard idiom for finding out the root directory of a module (
go list -e -f '{{.Dir}}'
) does not work when the root directory of the module doesn't have any Go files in it.The text was updated successfully, but these errors were encountered: