diff options
Diffstat (limited to 'internal/latest.go')
| -rw-r--r-- | internal/latest.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/latest.go b/internal/latest.go index 14ccf166..8b820b29 100644 --- a/internal/latest.go +++ b/internal/latest.go @@ -64,6 +64,7 @@ func isDeprecated(mf *modfile.File) (bool, string) { // PopulateModuleInfo uses the LatestModuleVersions to populate fields of the given module. func (li *LatestModuleVersions) PopulateModuleInfo(mi *ModuleInfo) { + mi.LatestVersion = li.GoodVersion mi.Deprecated = li.Deprecated mi.DeprecationComment = li.deprecationComment mi.Retracted, mi.RetractionRationale = isRetracted(li.GoModFile, mi.Version) |
