From be026e8edc5a9cac0d8923cc00099c150f97e329 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Sun, 1 Dec 2024 22:36:36 -0600 Subject: remove all the old testing things() --- repoNew.go | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'repoNew.go') diff --git a/repoNew.go b/repoNew.go index ad58373..f114487 100644 --- a/repoNew.go +++ b/repoNew.go @@ -4,14 +4,14 @@ import ( "os/user" "go.wit.com/lib/protobuf/gitpb" - "go.wit.com/log" ) +/* func (f *Forge) NewGoPath(gopath string) (*gitpb.Repo, error) { newr, err := f.Repos.NewGoPath(f.goSrc, gopath) if err != nil { log.Log(FORGEPBWARN, "init failed", err) - panic("crapnuts") + return nil, err } log.Info("init worked for", newr.GoPath) // try to guess what the 'master' branch is @@ -41,10 +41,9 @@ func (f *Forge) NewGoPath(gopath string) (*gitpb.Repo, error) { newr.SetUserBranchName(uname + "FIXME") } f.Repos.ConfigSave() - panic("forgepb got here") - - // return newr, err + return newr, err } +*/ func (f *Forge) VerifyBranchNames(newr *gitpb.Repo) { // log.Info("init worked for", newr.GoPath) -- cgit v1.2.3