Sfoglia il codice sorgente

Removes dead code

main
Eric Amodio 5 anni fa
parent
commit
34abc990a7
1 ha cambiato i file con 0 aggiunte e 6 eliminazioni
  1. +0
    -6
      src/commands/git/switch.ts

+ 0
- 6
src/commands/git/switch.ts Vedi 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;

Caricamento…
Annulla
Salva