瀏覽代碼

Fixes prettier issues

main
Eric Amodio 5 年之前
父節點
當前提交
9e17dbe2b7
共有 2 個文件被更改,包括 6 次插入4 次删除
  1. +3
    -1
      src/git/remotes/bitbucket-server.ts
  2. +3
    -3
      src/views/nodes/branchOrTagFolderNode.ts

+ 3
- 1
src/git/remotes/bitbucket-server.ts 查看文件

@ -11,7 +11,9 @@ export class BitbucketServerRemote extends RemoteProvider {
}
protected get baseUrl() {
const [project, repo] = this.path.startsWith('scm/') ? this.path.replace('scm/', '').split('/') : this.splitPath();
const [project, repo] = this.path.startsWith('scm/')
? this.path.replace('scm/', '').split('/')
: this.splitPath();
return `${this.protocol}://${this.domain}/projects/${project}/repos/${repo}`;
}

+ 3
- 3
src/views/nodes/branchOrTagFolderNode.ts 查看文件

@ -23,9 +23,9 @@ export class BranchOrTagFolderNode extends ViewNode {
}
get id(): string {
return `gitlens:repository(${this.repoPath})${
this._key === undefined ? '' : `:${this._key}`
}:${this.type}-folder(${this.relativePath})`;
return `gitlens:repository(${this.repoPath})${this._key === undefined ? '' : `:${this._key}`}:${
this.type
}-folder(${this.relativePath})`;
}
getChildren(): ViewNode[] {

Loading…
取消
儲存