Fix a bug with Vagrant

This commit is contained in:
Roey Darwish Dror
2020-07-01 20:54:31 +03:00
parent d16484a310
commit 9c9c92796b

View File

@@ -190,7 +190,7 @@ pub fn topgrade_vagrant_box(ctx: &ExecutionContext, vagrant_box: &VagrantBox) ->
} }
let mut command = format!("env TOPGRADE_PREFIX={} topgrade", vagrant_box.smart_name()); let mut command = format!("env TOPGRADE_PREFIX={} topgrade", vagrant_box.smart_name());
if ctx.config().yes() { if ctx.config().yes() {
command.push_str("-y"); command.push_str(" -y");
} }
ctx.run_type() ctx.run_type()