uses teh return value for the replace
This commit is contained in:
parent
39104fbdae
commit
06e33b2147
1 changed files with 1 additions and 1 deletions
|
|
@ -21,7 +21,7 @@ namespace BSB.Commands.script
|
||||||
|
|
||||||
if(attempt_endpoint.Contains("https://github.com/"))
|
if(attempt_endpoint.Contains("https://github.com/"))
|
||||||
{
|
{
|
||||||
attempt_endpoint.Replace("https://github.com/", "https://raw.githubusercontent.com/");
|
attempt_endpoint = attempt_endpoint.Replace("https://github.com/", "https://raw.githubusercontent.com/");
|
||||||
}
|
}
|
||||||
|
|
||||||
var client = new RestClient(attempt_endpoint);
|
var client = new RestClient(attempt_endpoint);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue