From 529f72cd58770fbc8d9a0c4495cebd80b215b19d Mon Sep 17 00:00:00 2001 From: Eric Amodio Date: Tue, 30 Jul 2019 18:47:55 -0400 Subject: [PATCH] Fixes prettier issue --- src/views/viewCommands.ts | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/views/viewCommands.ts b/src/views/viewCommands.ts index de3ae6e..9405740 100644 --- a/src/views/viewCommands.ts +++ b/src/views/viewCommands.ts @@ -247,7 +247,11 @@ export class ViewCommands { if (node instanceof BranchNode) { let branch = node.branch; if (branch.current) { - const pick = await new ReferencesQuickPick(node.repoPath).show('Choose a branch to check out to', { checkmarks: false, filterBranches: b => !b.current, include: 'branches' }); + const pick = await new ReferencesQuickPick(node.repoPath).show('Choose a branch to check out to', { + checkmarks: false, + filterBranches: b => !b.current, + include: 'branches' + }); if (pick === undefined) return undefined; branch = pick.item; @@ -265,7 +269,8 @@ export class ViewCommands { } const name = await window.showInputBox({ - prompt: "Please provide a name for the local branch (Press 'Enter' to confirm or 'Escape' to cancel)", + prompt: + "Please provide a name for the local branch (Press 'Enter' to confirm or 'Escape' to cancel)", placeHolder: 'Local branch name', value: branch.getName() });