Skip to content

Commit cf795a6

Browse files
committed
Escapes . in regex
1 parent b1fbad5 commit cf795a6

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
@@ -19,7 +19,7 @@ const defaultProviders: RemoteProviders = [
1919
['dev.azure.com', (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)],
22-
[/\bvisualstudio.com$/i, (domain: string, path: string) => new AzureDevOpsRemote(domain, path)]
22+
[/\bvisualstudio\.com$/i, (domain: string, path: string) => new AzureDevOpsRemote(domain, path)]
2323
];
2424

2525
export class RemoteProviderFactory {

0 commit comments

Comments
 (0)