Pass -q to cargo-install if log_level is set to off

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
This commit is contained in:
Jiahao XU 2022-08-04 23:21:29 +10:00
parent 3d28549fd6
commit b6a539735d
No known key found for this signature in database
GPG key ID: 591C0B03040416D6
3 changed files with 14 additions and 4 deletions

View file

@ -335,6 +335,7 @@ async fn entry(jobserver_client: LazyJobserverClient) -> Result<()> {
manifest_path: opts.manifest_path.take(),
cli_overrides,
desired_targets,
quiet: opts.log_level == LevelFilter::Off,
});
let tasks: Vec<_> = if !opts.dry_run && !opts.no_confirm {