Skip to content

Commit 625aa29

Browse files
committed
Handles *.dev.azure.com remotes
1 parent 81033fb commit 625aa29

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/git/remotes/factory.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ const defaultProviders: RemoteProviders = [
1616
['bitbucket.org', (domain: string, path: string) => new BitbucketRemote(domain, path)],
1717
['github.com', (domain: string, path: string) => new GitHubRemote(domain, path)],
1818
['gitlab.com', (domain: string, path: string) => new GitLabRemote(domain, path)],
19-
['dev.azure.com', (domain: string, path: string) => new AzureDevOpsRemote(domain, path)],
19+
[/\bdev\.azure\.com$/i, (domain: string, path: string) => new AzureDevOpsRemote(domain, path)],
2020
[/\bbitbucket\b/i, (domain: string, path: string) => new BitbucketServerRemote(domain, path)],
2121
[/\bgitlab\b/i, (domain: string, path: string) => new GitLabRemote(domain, path)],
2222
[/\bvisualstudio\.com$/i, (domain: string, path: string) => new AzureDevOpsRemote(domain, path)]

0 commit comments

Comments
 (0)