We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 508027e + 7921de2 commit f192191Copy full SHA for f192191
go/extractor/util/util.go
@@ -170,7 +170,7 @@ func GetPkgDir(pkgpath string, flags ...string) string {
170
// DepErrors checks there are any errors resolving dependencies for `pkgpath`. It passes the `go
171
// list` command the flags specified by `flags`.
172
func DepErrors(pkgpath string, flags ...string) bool {
173
- out, err := runGoList("{{if .DepsErrors}}{{else}}error{{end}}", []string{pkgpath}, flags...)
+ out, err := runGoList("{{if .DepsErrors}}error{{else}}{{end}}", []string{pkgpath}, flags...)
174
if err != nil {
175
// if go list failed, assume dependencies are broken
176
return false
0 commit comments