Fix always-plural message in uv python install (#4866)

This commit is contained in:
Charlie Marsh
2024-07-07 15:29:19 -05:00
committed by GitHub
parent f4c4b69cc7
commit a302d704c5
+2 -1
View File
@@ -117,9 +117,10 @@ pub(crate) async fn install(
.unique_by(|download| download.key())
.collect::<Vec<_>>();
let s = if downloads.len() == 1 { "" } else { "s" };
writeln!(
printer.stderr(),
"Found {} versions requiring installation",
"Found {} version{s} requiring installation",
downloads.len()
)?;