diff options
Diffstat (limited to 'goDep.redoGoMod.go')
| -rw-r--r-- | goDep.redoGoMod.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/goDep.redoGoMod.go b/goDep.redoGoMod.go index 908e088..6cba246 100644 --- a/goDep.redoGoMod.go +++ b/goDep.redoGoMod.go @@ -20,8 +20,8 @@ func (repo *Repo) ValidGoSum() error { } func (repo *Repo) GoDepsLen() int { - if repo.GoDeps == nil { + if repo.GoInfo.GoDeps == nil { return 0 } - return len(repo.GoDeps.GoDeps) + return len(repo.GoInfo.GoDeps.GoDeps) } |
