Skip to content

Commit

Permalink
Rename tool_run to run_tool for consistency (astral-sh#4628)
Browse files Browse the repository at this point in the history
  • Loading branch information
zanieb authored Jun 28, 2024
1 parent 796171e commit f15cd5c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion crates/uv/src/commands/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion crates/uv/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -786,7 +786,7 @@ async fn run() -> Result<ExitStatus> {
// Initialize the cache.
let cache = cache.init()?.with_refresh(args.refresh);

commands::run_tool(
commands::tool_run(
args.command,
args.python,
args.from,
Expand Down

0 comments on commit f15cd5c

Please sign in to comment.