summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--goDep.redoGoMod.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/goDep.redoGoMod.go b/goDep.redoGoMod.go
index d75f32a..ab55fa9 100644
--- a/goDep.redoGoMod.go
+++ b/goDep.redoGoMod.go
@@ -42,7 +42,7 @@ func (repo *Repo) RedoGoMod() (bool, error) {
// return the attempt to parse go.mod & go.sum
return repo.parseGoSum()
}
- repo.GoDeps = nil
+ repo.GoDeps = new(GoDeps)
repo.GoPrimitive = false
ok, err := repo.isPrimativeGoMod()