summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doVerify.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/doVerify.go b/doVerify.go
index 90e65c2..3458a84 100644
--- a/doVerify.go
+++ b/doVerify.go
@@ -30,6 +30,7 @@ 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 {
// relative path to gosrc or gowork is the namespace
return newpath
@@ -48,6 +49,8 @@ func doVerifyNamespace() (string, error) {
if newpath != "" && newpath != r.Namespace {
log.Info("Changed", r.FullPath, "to", r.Namespace)
r.Namespace = newpath
+ } else {
+ log.Info("Not Changed", r.Namespace, newpath)
}
}