Skip to content

Commit

Permalink
Initialize cache in tool run (#3776)
Browse files Browse the repository at this point in the history
## Summary

Closes #3775.
  • Loading branch information
charliermarsh committed May 22, 2024
1 parent e52ae0e commit 9db6852
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions crates/uv/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -614,6 +614,9 @@ async fn run() -> Result<ExitStatus> {
Commands::Tool(ToolNamespace {
command: ToolCommand::Run(args),
}) => {
// Initialize the cache.
let cache = cache.init()?;

commands::run_tool(
args.target,
args.args,
Expand Down

0 comments on commit 9db6852

Please sign in to comment.