From 34abc990a731dbe2d09c6a12e3bcb05c9f97fe7d Mon Sep 17 00:00:00 2001 From: Eric Amodio Date: Mon, 9 Sep 2019 22:43:31 -0400 Subject: [PATCH] Removes dead code --- src/commands/git/switch.ts | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/commands/git/switch.ts b/src/commands/git/switch.ts index c7243d5..cc43a22 100644 --- a/src/commands/git/switch.ts +++ b/src/commands/git/switch.ts @@ -166,12 +166,6 @@ export class SwitchGitCommand extends QuickCommandBase { quickpick.busy = false; quickpick.enabled = true; }, - // onDidAccept: (quickpick): Promise => { - // 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 = yield step;