瀏覽代碼

Fixes prettier issue

main
Eric Amodio 5 年之前
父節點
當前提交
529f72cd58
共有 1 個文件被更改,包括 7 次插入2 次删除
  1. +7
    -2
      src/views/viewCommands.ts

+ 7
- 2
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()
});

Loading…
取消
儲存