Skip to content

Commit 6e44c61

Browse files
authored
fix(uv): update silenced error messages (#1593)
1 parent a48be1c commit 6e44c61

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/steps/generic.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1511,7 +1511,7 @@ pub fn run_uv(ctx: &ExecutionContext) -> Result<()> {
15111511
//
15121512
// We run `uv self update` directly, and ignore an error if it outputs:
15131513
//
1514-
// "error: uv was installed through an external package manager, and self-update is not available. Please use your package manager to update uv.\n"
1514+
// "error: uv was installed through an external package manager" [various continuations]
15151515
//
15161516
// or:
15171517
//
@@ -1524,7 +1524,7 @@ pub fn run_uv(ctx: &ExecutionContext) -> Result<()> {
15241524
// These two error messages can both occur, in different situations.
15251525

15261526
const ERROR_MSGS: [&str; 2] = [
1527-
"uv was installed through an external package manager, and self-update is not available. Please use your package manager to update uv.",
1527+
"uv was installed through an external package manager",
15281528
"Self-update is only available for uv binaries installed via the standalone installation scripts.",
15291529
];
15301530

0 commit comments

Comments
 (0)