From 8a8f287a81b827bdfb33b1e7be2fdcacc86af1f9 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Wed, 18 Dec 2024 03:34:58 -0600 Subject: [PATCH] probably wrong --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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