encode module name with gomod vcs provider to handle uppercase module paths
This commit is contained in:
parent
7a37ec05c4
commit
db43a4e741
@ -82,6 +82,6 @@ func (g *goVCS) download(ctx context.Context, version string) error {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (g *goVCS) file(name string) ([]byte, error) {
|
func (g *goVCS) file(name string) ([]byte, error) {
|
||||||
path := filepath.Join(g.dir, "pkg", "mod", "cache", "download", g.module, "@v", name)
|
path := filepath.Join(g.dir, "pkg", "mod", "cache", "download", encodeBangs(g.module), "@v", name)
|
||||||
return ioutil.ReadFile(path)
|
return ioutil.ReadFile(path)
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user