apply-local: Fix output after rewrite

This commit is contained in:
Zhaofeng Li 2021-11-21 15:30:52 -08:00
parent 0cb3f8e968
commit 46090598eb

View file

@ -137,7 +137,12 @@ pub async fn run(_global_args: &ArgMatches<'_>, local_args: &ArgMatches<'_>) ->
deployment.set_options(options);
deployment.execute().await?;
let (deployment, output) = tokio::join!(
deployment.execute(),
output.run_until_completion(),
);
deployment?; output?;
Ok(())
}