summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-12-18 03:34:58 -0600
committerJeff Carr <[email protected]>2024-12-18 03:34:58 -0600
commit8a8f287a81b827bdfb33b1e7be2fdcacc86af1f9 (patch)
treeac857bd8812d8cac5b90ffd43fb996b1e1b0dcf0
parent5c156fa55e2ee7980a6bbfc9a0a7df5b8984aef0 (diff)
probably wrongv0.0.20
-rw-r--r--main.go2
1 files changed, 1 insertions, 1 deletions
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