mirror of
https://github.com/coreybutler/nvm-windows.git
synced 2025-09-01 18:35:13 +00:00
Fixed double slash bug that caused versions older than 16.9.0 to have incorrect URLs.
This commit is contained in:
@@ -361,7 +361,7 @@ func getNodeUrl(v string, vpre string, arch string, append bool) string {
|
||||
}
|
||||
|
||||
//url := "http://nodejs.org/dist/v"+v+"/" + vpre + "/node.exe"
|
||||
url := GetFullNodeUrl("v" + v + "/" + vpre + "/node.exe")
|
||||
url := GetFullNodeUrl("v" + v + "/" + vpre + "node.exe")
|
||||
|
||||
if !append {
|
||||
version, err := semver.Make(v)
|
||||
|
Reference in New Issue
Block a user