From a45a641195147427b7d04da202b45a937e239e27 Mon Sep 17 00:00:00 2001 From: baurine <2008.hbl@gmail.com> Date: Wed, 17 Feb 2021 22:29:23 +0800 Subject: [PATCH] cancel to pre-install playground and cluster after installing the tiup - because it will fail if it is the real first time installation for tiup - and some people may don't need playground or cluster component before they use it --- src/extension.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/extension.ts b/src/extension.ts index 50c6df8..5e5b036 100644 --- a/src/extension.ts +++ b/src/extension.ts @@ -354,7 +354,7 @@ async function checkEnvs() { ) if (res === 'Install') { await tiup.invokeAnyInNewTerminal( - `curl --proto '=https' --tlsv1.2 -sSf https://tiup-mirrors.pingcap.com/install.sh | sh && tiup install cluster && tiup install playground && exit`, + `curl --proto '=https' --tlsv1.2 -sSf https://tiup-mirrors.pingcap.com/install.sh | sh && exit`, 'install tiup' ) }