From 85553090814afa30f5e8263df0ed6c3b1791cc4d Mon Sep 17 00:00:00 2001 From: Amin Yahyaabadi Date: Wed, 15 Sep 2021 05:56:02 -0500 Subject: [PATCH] fix: add -y to choco installations --- src/utils/setup/setupChocoPack.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/utils/setup/setupChocoPack.ts b/src/utils/setup/setupChocoPack.ts index 98e4fa7b..82f54955 100644 --- a/src/utils/setup/setupChocoPack.ts +++ b/src/utils/setup/setupChocoPack.ts @@ -14,9 +14,9 @@ export async function setupChocoPack(name: string, version?: string, args: strin let exit if (version === undefined) { - exit = await exec("choco", ["install", name, ...args]) + exit = await exec("choco", ["install", "-y", name, ...args]) } else { - exit = await exec("choco", ["install", name, `--version=${version}`, ...args]) + exit = await exec("choco", ["install", "-y", name, `--version=${version}`, ...args]) } if (exit !== 0) {