Skip to content

Commit

Permalink
Fixes prettier issues
Browse files Browse the repository at this point in the history
  • Loading branch information
eamodio committed Jul 9, 2019
1 parent 3f0fb5c commit 9e17dbe
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
4 changes: 3 additions & 1 deletion src/git/remotes/bitbucket-server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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}`;
}

Expand Down
6 changes: 3 additions & 3 deletions src/views/nodes/branchOrTagFolderNode.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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[] {
Expand Down

0 comments on commit 9e17dbe

Please sign in to comment.