summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-12-17 13:12:52 -0600
committerJeff Carr <[email protected]>2024-12-17 13:12:52 -0600
commit5434341272574da3baf8843c92c586b7429b468f (patch)
tree0540260f36dc4480a08bafddd942e99cb4d457f5 /main.go
parent62ad7e676cdb9c3618e74d9b0293718c083d6d62 (diff)
fix Find(gopath0
Diffstat (limited to 'main.go')
-rw-r--r--main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.go b/main.go
index 5878b37..2564bf4 100644
--- a/main.go
+++ b/main.go
@@ -80,7 +80,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(gopath)
+ check = forge.Repos.FindByFullPath(pwd)
if check != nil {
log.Info("findRepo() worked", check.GetGoPath())
return check