Sfoglia il codice sorgente

Escapes . in regex

main
Eric Amodio 6 anni fa
parent
commit
cf795a6280
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. +1
    -1
      src/git/remotes/factory.ts

+ 1
- 1
src/git/remotes/factory.ts Vedi 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 {

Caricamento…
Annulla
Salva