浏览代码

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 {

正在加载...
取消
保存