diff options
Diffstat (limited to 'main.go')
| -rw-r--r-- | main.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |
