Browse Source

Escapes . in regex

main
Eric Amodio 6 years ago
parent
commit
cf795a6280
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/git/remotes/factory.ts

+ 1
- 1
src/git/remotes/factory.ts View File

@ -19,7 +19,7 @@ const defaultProviders: RemoteProviders = [
['dev.azure.com', (domain: string, path: string) => new AzureDevOpsRemote(domain, path)],
[/\bbitbucket\b/i, (domain: string, path: string) => new BitbucketServerRemote(domain, path)],
[/\bgitlab\b/i, (domain: string, path: string) => new GitLabRemote(domain, path)],
[/\bvisualstudio.com$/i, (domain: string, path: string) => new AzureDevOpsRemote(domain, path)]
[/\bvisualstudio\.com$/i, (domain: string, path: string) => new AzureDevOpsRemote(domain, path)]
];
export class RemoteProviderFactory {

Loading…
Cancel
Save