summaryrefslogtreecommitdiff
path: root/repoNew.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-08-30 21:49:35 -0500
committerJeff Carr <[email protected]>2025-08-30 21:49:35 -0500
commitc8339bec60ce41e9eb9769ac249bfb9701b967d4 (patch)
tree4e8a4b5bc180d7f8657393ea6b772c89a7b96754 /repoNew.go
parentf7fe365ed1490e646c6e0595dae052a84e125ed2 (diff)
notes for the futurev0.0.119
Diffstat (limited to 'repoNew.go')
-rw-r--r--repoNew.go6
1 files changed, 5 insertions, 1 deletions
diff --git a/repoNew.go b/repoNew.go
index 9ed3a60..a8f026f 100644
--- a/repoNew.go
+++ b/repoNew.go
@@ -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)