mirror of
https://github.com/gomods/athens
synced 2026-02-03 11:00:32 +00:00
pkg/stash: allow nonsemver requests to be resolved properly (#1015)
This commit is contained in:
@@ -78,6 +78,7 @@ func (g *goGetFetcher) Fetch(ctx context.Context, mod, ver string) (*storage.Ver
|
||||
}
|
||||
|
||||
var storageVer storage.Version
|
||||
storageVer.Semver = m.Version
|
||||
info, err := afero.ReadFile(g.fs, m.Info)
|
||||
if err != nil {
|
||||
return nil, errors.E(op, err)
|
||||
|
||||
Reference in New Issue
Block a user