Browse Source

Removes dead code

main
Eric Amodio 5 years ago
parent
commit
34abc990a7
1 changed files with 0 additions and 6 deletions
  1. +0
    -6
      src/commands/git/switch.ts

+ 0
- 6
src/commands/git/switch.ts View File

@ -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;

Loading…
Cancel
Save