瀏覽代碼

Escapes . in regex

main
Eric Amodio 6 年之前
父節點
當前提交
cf795a6280
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      src/git/remotes/factory.ts

+ 1
- 1
src/git/remotes/factory.ts 查看文件

@ -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…
取消
儲存