Commit 4c8eca8
estimate: fix for modules that don't have a root package
Some modules don't have any .go files in their root directory (e.g.
github.com/autobrr/qui), which means they have no root package. This
led to the error "no required module provides package foo" when trying
to list the direct dependencies of the estimated module.
To fix this, we now make sure to use "go list" in module mode using
the "-m" option when looking for the module directory in the GOPATH.1 parent 7e2b856 commit 4c8eca8
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
91 | | - | |
| 91 | + | |
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
| |||
0 commit comments