Pārlūkot izejas kodu

Fixes prettier issues

main
Eric Amodio pirms 5 gadiem
vecāks
revīzija
9e17dbe2b7
2 mainītis faili ar 6 papildinājumiem un 4 dzēšanām
  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 Parādīt failu

@ -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 Parādīt failu

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

Notiek ielāde…
Atcelt
Saglabāt