浏览代码

Removes dead code

main
Eric Amodio 5 年前
父节点
当前提交
34abc990a7
共有 1 个文件被更改,包括 0 次插入6 次删除
  1. +0
    -6
      src/commands/git/switch.ts

+ 0
- 6
src/commands/git/switch.ts 查看文件

@ -166,12 +166,6 @@ export class SwitchGitCommand extends QuickCommandBase {
quickpick.busy = false;
quickpick.enabled = true;
},
// onDidAccept: (quickpick): Promise<boolean> => {
// const ref = quickpick.value.trim();
// if (ref.length === 0 || state.repos!.length !== 1) return Promise.resolve(false);
// return Container.git.validateReference(state.repos![0].path, ref);
// },
onValidateValue: getValidateGitReferenceFn(state.repos)
});
const selection: StepSelection<typeof step> = yield step;

正在加载...
取消
保存