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()