diff --git a/repoNew.go b/repoNew.go index 0fa35d8..45e9db5 100644 --- a/repoNew.go +++ b/repoNew.go @@ -22,7 +22,7 @@ func (f *Forge) NewGoRepo(gopath string, url string) (*gitpb.Repo, error) { if f.Config.IsReadOnly(repo.GetGoPath()) { repo.ReadOnly = true } - repo.InitVersions() + repo.Reload() return repo, nil }