mirror of
https://github.com/astral-sh/uv.git
synced 2025-12-04 00:54:42 +00:00
Disable the progress bar with RUST_LOG (#10901)
This commit is contained in:
parent
26210cc0e6
commit
349c0b6fc8
1 changed files with 3 additions and 1 deletions
|
|
@ -156,7 +156,9 @@ impl GlobalSettings {
|
|||
.combine(env(env::UV_PYTHON_DOWNLOADS))
|
||||
.combine(workspace.and_then(|workspace| workspace.globals.python_downloads))
|
||||
.unwrap_or_default(),
|
||||
no_progress: args.no_progress,
|
||||
// Disable the progress bar with `RUST_LOG` to avoid progress fragments interleaving
|
||||
// with log messages.
|
||||
no_progress: args.no_progress || std::env::var_os(EnvVars::RUST_LOG).is_some(),
|
||||
installer_metadata: !args.no_installer_metadata,
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue