From 9e17dbe2b7457af484c88cc15a45c42b84d2ba3b Mon Sep 17 00:00:00 2001 From: Eric Amodio Date: Tue, 9 Jul 2019 15:05:40 -0400 Subject: [PATCH] Fixes prettier issues --- src/git/remotes/bitbucket-server.ts | 4 +++- src/views/nodes/branchOrTagFolderNode.ts | 6 +++--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/src/git/remotes/bitbucket-server.ts b/src/git/remotes/bitbucket-server.ts index 4b7327c..08dddea 100644 --- a/src/git/remotes/bitbucket-server.ts +++ b/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}`; } diff --git a/src/views/nodes/branchOrTagFolderNode.ts b/src/views/nodes/branchOrTagFolderNode.ts index ece7996..666fcca 100644 --- a/src/views/nodes/branchOrTagFolderNode.ts +++ b/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[] {