diff options
| author | Jeff Carr <[email protected]> | 2025-10-16 02:21:54 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-10-16 02:21:54 -0500 |
| commit | 192985619e462e22ef6967557bf1398a9613d0f6 (patch) | |
| tree | c3e7c3a04f90e46a85dcdbb5ed13897f7a5026de /build.go | |
| parent | 5e6c01dd9a7b3b8a659fa8f2cc82b7613afd029c (diff) | |
new funcname
Diffstat (limited to 'build.go')
| -rw-r--r-- | build.go | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |
