mirror of
https://github.com/astral-sh/uv.git
synced 2025-07-07 21:35:00 +00:00
Fix always-plural message in uv python install (#4866)
This commit is contained in:
parent
f4c4b69cc7
commit
a302d704c5
1 changed files with 2 additions and 1 deletions
|
@ -117,9 +117,10 @@ pub(crate) async fn install(
|
||||||
.unique_by(|download| download.key())
|
.unique_by(|download| download.key())
|
||||||
.collect::<Vec<_>>();
|
.collect::<Vec<_>>();
|
||||||
|
|
||||||
|
let s = if downloads.len() == 1 { "" } else { "s" };
|
||||||
writeln!(
|
writeln!(
|
||||||
printer.stderr(),
|
printer.stderr(),
|
||||||
"Found {} versions requiring installation",
|
"Found {} version{s} requiring installation",
|
||||||
downloads.len()
|
downloads.len()
|
||||||
)?;
|
)?;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue