Add support for -y flag in Chocolatey (#457)

This commit is contained in:
Oleksii Filonenko
2020-06-30 11:55:39 +03:00
committed by GitHub
parent 33da94c818
commit d838eb588b
2 changed files with 13 additions and 3 deletions

View File

@@ -139,7 +139,7 @@ fn run() -> Result<()> {
#[cfg(windows)]
{
if config.should_run(Step::Chocolatey) {
runner.execute("Chocolatey", || windows::run_chocolatey(run_type))?;
runner.execute("Chocolatey", || windows::run_chocolatey(&ctx))?;
}
if config.should_run(Step::Scoop) {