summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-12-17 07:02:57 -0600
committerJeff Carr <[email protected]>2024-12-17 07:02:57 -0600
commit5694d40fa34d8504df5a7722d2c15f31f97c3f9f (patch)
tree0b4f8e8ea2b90f2bc6068b93eeb0fe25065574dc /main.go
parent2141737e7c1efac1fe0cd929e4da5ad18397b43c (diff)
fixes for new gitpbv0.22.41
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 392f80e..dd5109c 100644
--- a/main.go
+++ b/main.go
@@ -43,7 +43,7 @@ func main() {
forge = forgepb.Init()
os.Setenv("REPO_WORK_PATH", forge.GetGoSrc())
- repo = forge.Repos.FindByGoPath(argv.Repo)
+ repo = forge.FindByGoPath(argv.Repo)
if repo == nil {
log.Info("repo not found. you need to clone", argv.Repo)
os.Exit(-1)