Bläddra i källkod

Fixes prettier issues

main
Eric Amodio 5 år sedan
förälder
incheckning
9e17dbe2b7
2 ändrade filer med 6 tillägg och 4 borttagningar
  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 Visa fil

@ -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 Visa fil

@ -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[] {

Laddar…
Avbryt
Spara