From f15cd5c11d4ad653018c58e1839079ac0fcdb57c Mon Sep 17 00:00:00 2001 From: Zanie Blue Date: Fri, 28 Jun 2024 13:10:55 -0400 Subject: [PATCH] Rename `tool_run` to `run_tool` for consistency (#4628) --- crates/uv/src/commands/mod.rs | 2 +- crates/uv/src/main.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/uv/src/commands/mod.rs b/crates/uv/src/commands/mod.rs index 4b360017c..99d4ea001 100644 --- a/crates/uv/src/commands/mod.rs +++ b/crates/uv/src/commands/mod.rs @@ -25,7 +25,7 @@ pub(crate) use project::sync::sync; #[cfg(feature = "self-update")] pub(crate) use self_update::self_update; pub(crate) use tool::install::install as tool_install; -pub(crate) use tool::run::run as run_tool; +pub(crate) use tool::run::run as tool_run; pub(crate) use toolchain::find::find as toolchain_find; pub(crate) use toolchain::install::install as toolchain_install; pub(crate) use toolchain::list::list as toolchain_list; diff --git a/crates/uv/src/main.rs b/crates/uv/src/main.rs index 53bc73dc0..e52ca69cb 100644 --- a/crates/uv/src/main.rs +++ b/crates/uv/src/main.rs @@ -786,7 +786,7 @@ async fn run() -> Result { // Initialize the cache. let cache = cache.init()?.with_refresh(args.refresh); - commands::run_tool( + commands::tool_run( args.command, args.python, args.from,