Browse Source

Fixes prettier issue

main
Eric Amodio 5 years ago
parent
commit
529f72cd58
1 changed files with 7 additions and 2 deletions
  1. +7
    -2
      src/views/viewCommands.ts

+ 7
- 2
src/views/viewCommands.ts View File

@ -247,7 +247,11 @@ export class ViewCommands {
if (node instanceof BranchNode) { if (node instanceof BranchNode) {
let branch = node.branch; let branch = node.branch;
if (branch.current) { 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; if (pick === undefined) return undefined;
branch = pick.item; branch = pick.item;
@ -265,7 +269,8 @@ export class ViewCommands {
} }
const name = await window.showInputBox({ 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', placeHolder: 'Local branch name',
value: branch.getName() value: branch.getName()
}); });

Loading…
Cancel
Save