Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
A bug exists in the logic that determines if `go.mod` exists: if a `*.go` file is returned by the filesystem before `go.mod`, we will not skip the subtree as intended. To fix this, we always stat for `go.mod` if we find a `*.go` file, as a final check before considering the path to be a subpackage.
- Loading branch information