summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile6
-rw-r--r--repo.new.go3
2 files changed, 3 insertions, 6 deletions
diff --git a/Makefile b/Makefile
index 6d2f9fc..5ea078f 100644
--- a/Makefile
+++ b/Makefile
@@ -15,12 +15,6 @@ vet:
goimports:
goimports -w *.go
-redomod:
- rm -f go.*
- GO111MODULE= go mod init
- GO111MODULE= go mod tidy
- go mod edit -go=1.20
-
clean:
rm -f *.pb.go
-rm -f go.*
diff --git a/repo.new.go b/repo.new.go
index 9d0f7ba..e9327d3 100644
--- a/repo.new.go
+++ b/repo.new.go
@@ -18,6 +18,9 @@ func (all *Repos) NewGoPath(basepath string, gopath string, url string) (*Repo,
return nil, errors.New("blank gopath")
}
if r := all.FindByGoPath(gopath); r != nil {
+ log.Info("gitpb.NewGoPath() already has gopath", r.GoPath)
+ log.Info("gitpb.NewGoPath() already has FullPath", r.FullPath)
+ log.Info("gitpb.NewGoPath() already has URL", r.URL)
// already had this gopath
return r, errors.New("gitpb.NewGoPath() duplicate gopath " + gopath)
}