summaryrefslogtreecommitdiff
path: root/goDep.redoGoMod.go
diff options
context:
space:
mode:
Diffstat (limited to 'goDep.redoGoMod.go')
-rw-r--r--goDep.redoGoMod.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/goDep.redoGoMod.go b/goDep.redoGoMod.go
index 8bb8058..7e56989 100644
--- a/goDep.redoGoMod.go
+++ b/goDep.redoGoMod.go
@@ -52,7 +52,7 @@ func (repo *Repo) RedoGoMod() (bool, error) {
repo.GoDeps = new(GoDeps)
repo.GoPrimitive = false
- ok, err := repo.isPrimativeGoMod()
+ ok, err := repo.IsPrimitive()
if err != nil {
// this means this repo does not depend on any other package
log.Info("PRIMATIVE repo error:", repo.GoPath, "err =", err)
@@ -121,7 +121,6 @@ func (repo *Repo) PublishedLen() int {
// returns true if the last published
func (all *Repos) GoDepsChanged(repo *Repo) (bool, error) {
var upgrade bool = false
-
if repo.GoDeps == nil {
repo.RedoGoMod()
}