fix: add -y to choco installations

This commit is contained in:
Amin Yahyaabadi 2021-09-15 05:56:02 -05:00
parent 3702106240
commit 8555309081
1 changed files with 2 additions and 2 deletions

View File

@ -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) {