diff options
| author | Jeff Carr <[email protected]> | 2024-12-01 22:36:36 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-12-01 22:36:36 -0600 |
| commit | be026e8edc5a9cac0d8923cc00099c150f97e329 (patch) | |
| tree | 3129f490b1d42b0c93cdf2991b6e80ecb496d4e2 /repoNew.go | |
| parent | dc3fe4bd2e4fff95bd938eada5d71314e124b2c1 (diff) | |
remove all the old testing things()v0.0.15
Diffstat (limited to 'repoNew.go')
| -rw-r--r-- | repoNew.go | 9 |
1 files changed, 4 insertions, 5 deletions
@@ -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) |
