summaryrefslogtreecommitdiff
path: root/build.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-10-16 02:21:54 -0500
committerJeff Carr <[email protected]>2025-10-16 02:21:54 -0500
commit192985619e462e22ef6967557bf1398a9613d0f6 (patch)
treec3e7c3a04f90e46a85dcdbb5ed13897f7a5026de /build.go
parent5e6c01dd9a7b3b8a659fa8f2cc82b7613afd029c (diff)
new funcname
Diffstat (limited to 'build.go')
-rw-r--r--build.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/build.go b/build.go
index f67b137..7ecbd3b 100644
--- a/build.go
+++ b/build.go
@@ -62,7 +62,7 @@ func (f *Forge) doBuild(repo *gitpb.Repo, userFlags []string, goWhat string) err
all := repo.GoDeps.SortByGoPath()
for all.Scan() {
t := all.Next()
- found := f.FindByGoPath(t.GetGoPath())
+ found := f.FindByNamespace(t.GetGoPath())
if found.GetRepoType() == "protobuf" {
if err := f.runAutogenpb(found); err != nil {
return err
@@ -200,7 +200,7 @@ func (f *Forge) FindWorkingDirRepo() *gitpb.Repo {
pwd, _ := os.Getwd()
basedir := strings.TrimPrefix(pwd, f.Config.ReposDir)
basedir = strings.Trim(basedir, "/")
- return f.FindByGoPath(basedir)
+ return f.FindByNamespace(basedir)
}
// Never do this. this is stupid. fix your repo