Skip to content

Commit 0a2a7bc

Browse files
Log when the cache is disabled (#15828)
## Summary This strikes me as fairly reasonable. Closes #15822.
1 parent f59d00b commit 0a2a7bc

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

crates/uv/src/lib.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -428,6 +428,9 @@ async fn run(mut cli: Cli) -> Result<ExitStatus> {
428428
show_settings!(cache_settings, false);
429429

430430
// Configure the cache.
431+
if cache_settings.no_cache {
432+
debug!("Disabling the uv cache due to `--no-cache`");
433+
}
431434
let cache = Cache::from_settings(cache_settings.no_cache, cache_settings.cache_dir)?;
432435

433436
// Configure the global network settings.

0 commit comments

Comments
 (0)