瀏覽代碼

Fixes #2304 supports more domain levels for GoogleSource

main
Matt Buckley 2 年之前
committed by GitHub
父節點
當前提交
07143c8cd7
沒有發現已知的金鑰在資料庫的簽署中 GPG 金鑰 ID: 4AEE18F83AFDEB23
共有 1 個檔案被更改,包括 2 行新增2 行删除
  1. +2
    -2
      src/git/remotes/google-source.ts

+ 2
- 2
src/git/remotes/google-source.ts 查看文件

@ -18,8 +18,8 @@ export class GoogleSourceRemote extends GerritRemote {
}
private get reviewDomain(): string {
const [subdomain, secondLevelDomain, topLevelDomain] = this.domain.split('.');
return [`${subdomain}-review`, secondLevelDomain, topLevelDomain].join('.');
const [subdomain, ...domains] = this.domain.split('.');
return [`${subdomain}-review`, ...domains].join('.');
}
protected override get baseReviewUrl(): string {

Loading…
取消
儲存