Skip to content

Commit

Permalink
Fix reference to uv run in uv tree CLI (#5216)
Browse files Browse the repository at this point in the history
  • Loading branch information
charliermarsh authored Jul 19, 2024
1 parent 729148d commit 40b962e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion crates/uv/src/commands/project/tree.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ pub(crate) async fn tree(
printer: Printer,
) -> Result<ExitStatus> {
if preview.is_disabled() {
warn_user_once!("`uv run` is experimental and may change without warning.");
warn_user_once!("`uv tree` is experimental and may change without warning.");
}

// Find the project requirements.
Expand Down
10 changes: 5 additions & 5 deletions crates/uv/tests/tree.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ fn nested_dependencies() -> Result<()> {
└── threadpoolctl v3.4.0
----- stderr -----
warning: `uv run` is experimental and may change without warning.
warning: `uv tree` is experimental and may change without warning.
Resolved 6 packages in [TIME]
"###
);
Expand Down Expand Up @@ -84,7 +84,7 @@ fn invert() -> Result<()> {
(*) Package tree already displayed
----- stderr -----
warning: `uv run` is experimental and may change without warning.
warning: `uv tree` is experimental and may change without warning.
Resolved 6 packages in [TIME]
"###
);
Expand All @@ -107,7 +107,7 @@ fn invert() -> Result<()> {
└── project v0.1.0
----- stderr -----
warning: `uv run` is experimental and may change without warning.
warning: `uv tree` is experimental and may change without warning.
Resolved 6 packages in [TIME]
"###
);
Expand Down Expand Up @@ -141,7 +141,7 @@ fn frozen() -> Result<()> {
└── sniffio v1.3.1
----- stderr -----
warning: `uv run` is experimental and may change without warning.
warning: `uv tree` is experimental and may change without warning.
Resolved 4 packages in [TIME]
"###
);
Expand Down Expand Up @@ -174,7 +174,7 @@ fn frozen() -> Result<()> {
└── sniffio v1.3.1
----- stderr -----
warning: `uv run` is experimental and may change without warning.
warning: `uv tree` is experimental and may change without warning.
"###
);

Expand Down

0 comments on commit 40b962e

Please sign in to comment.