diff options
| author | Jeff Carr <[email protected]> | 2025-10-16 02:58:19 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-10-16 02:58:19 -0500 |
| commit | 2beea97f0554ff7a7893c7d6e6b4f97c6295f734 (patch) | |
| tree | ecb83f05efd0ae030bdc7d6ef40357e9739b83db /doVerify.go | |
| parent | 8bd07db7b0106f9e91f7a4f393d73e61decb8b13 (diff) | |
more stuff
Diffstat (limited to 'doVerify.go')
| -rw-r--r-- | doVerify.go | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/doVerify.go b/doVerify.go index 39019a0..647f808 100644 --- a/doVerify.go +++ b/doVerify.go @@ -30,12 +30,13 @@ func cleanNamespace(r *gitpb.Repo) string { gowork := me.forge.Config.ReposDir // todo: detect if using go.work file newpath, err := filepath.Rel(gowork, r.FullPath) - log.Info(newpath, gowork, "is gowork. fullpath:", r.FullPath) - if err != nil { - log.Info("cleanNamespace got err", newpath, err) + log.Info("cleanNamespace()", newpath, gowork, "is gowork. fullpath:", r.FullPath) + if err == nil { + log.Info("cleanNamespace returned", newpath) // relative path to gosrc or gowork is the namespace return newpath } + log.Info("cleanNamespace got err", newpath, err) // check for other stuff. use the URLs return "" } |
