diff --git a/main.go b/main.go index 213bdc7..d43e230 100644 --- a/main.go +++ b/main.go @@ -82,7 +82,7 @@ func findPwdRepo() *gitpb.Repo { gopath := strings.TrimPrefix(pwd, forge.GetGoSrc()) gopath = strings.Trim(gopath, "/") log.Info("findRepo() trying gopath", gopath) - check = forge.Repos.FindByFullPath(pwd) + check = forge.FindByGoPath(gopath) if check != nil { log.Info("findRepo() worked", check.GetGoPath()) return check