Browse Source

Fixes prettier issues

main
Eric Amodio 5 years ago
parent
commit
9e17dbe2b7
2 changed files with 6 additions and 4 deletions
  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 View File

@ -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 View File

@ -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…
Cancel
Save