probably wrong

This commit is contained in:
Jeff Carr 2024-12-18 03:34:58 -06:00
parent 5c156fa55e
commit 8a8f287a81
1 changed files with 1 additions and 1 deletions

View File

@ -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