use unix path for https requests
This commit is contained in:
parent
c34652bc4a
commit
29c2351b2f
@ -88,7 +88,8 @@ func InstallLib(lib FabricLibrary, libDir string, a *App) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
a.Status(fmt.Sprintf("Downloading %s\n", lib.Name))
|
a.Status(fmt.Sprintf("Downloading %s\n", lib.Name))
|
||||||
resp, err := http.Get(lib.Url + path)
|
unixPath := strings.ReplaceAll(path, "\\", "/")
|
||||||
|
resp, err := http.Get(lib.Url + unixPath)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user