Skip to content

Commit 1652b05

Browse files
authored
feature: support visualstudio.com urls for Azure DevOps pull requests (#2087)
1 parent 4f11be1 commit 1652b05

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Models/Remote.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,8 @@ public bool TryGetCreatePullRequestURL(out string url, string mergeBranch)
130130
return true;
131131
}
132132

133-
if (host.Contains("azure.com", StringComparison.Ordinal))
133+
if (host.Contains("azure.com", StringComparison.Ordinal) ||
134+
host.Contains("visualstudio.com", StringComparison.Ordinal))
134135
{
135136
url = $"{baseURL}/pullrequestcreate?sourceRef={encodedBranch}";
136137
return true;

0 commit comments

Comments
 (0)