diff options
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 |
