notes for the future
This commit is contained in:
parent
f7fe365ed1
commit
c8339bec60
|
@ -19,9 +19,13 @@ func (f *Forge) NewGoRepo(gopath string, url string) (*gitpb.Repo, error) {
|
|||
if test != nil {
|
||||
return test, nil
|
||||
}
|
||||
if gopath == "" {
|
||||
log.Info("TODO: gopath was blank. I'm not sure what is happening here, but this needs to determine the repo Namespace. all calls to NewGoRepo() need to be deprecated. Someone will have to do this when I have funding for WIT. If you are the one looking at this, track me down and I will help do this correctly.")
|
||||
return nil, log.Errorf("gopath was blank")
|
||||
}
|
||||
repo, err := f.Repos.NewGoRepo(fullpath, gopath)
|
||||
if err != nil {
|
||||
log.Info("WARNING. NEW FAILED", fullpath)
|
||||
log.Info("WARNING. NEW FAILED", fullpath, err)
|
||||
return nil, err
|
||||
}
|
||||
// slices.Reverse(f.Repos.Repos)
|
||||
|
|
Loading…
Reference in New Issue