mirror of
https://github.com/tgstation/tgstation-server.git
synced 2026-08-26 22:48:20 +01:00
Merge pull request #462 from tgstation/Cyberboss-patch-4
Fixes MergePullRequest with git:// protocol remote
This commit is contained in:
@@ -1012,6 +1012,7 @@ namespace TGS.Server
|
||||
var prAPI = remoteUrl;
|
||||
prAPI = prAPI.Replace("/.git", "");
|
||||
prAPI = prAPI.Replace(".git", "");
|
||||
prAPI = prAPI.Replace("git:", "https:");
|
||||
prAPI = prAPI.Replace("github.com", "api.github.com/repos");
|
||||
prAPI += "/pulls/" + PRNumberString + ".json";
|
||||
string json;
|
||||
|
||||
Reference in New Issue
Block a user