Skip to content

Commit

Permalink
Fixes prettier issue
Browse files Browse the repository at this point in the history
  • Loading branch information
eamodio committed Jul 30, 2019
1 parent b4c96c5 commit 529f72c
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions src/views/viewCommands.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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()
});
Expand Down

0 comments on commit 529f72c

Please sign in to comment.