mirror of
https://github.com/astral-sh/uv.git
synced 2025-07-07 21:35:00 +00:00
Print to stderr by default (#134)
This commit is contained in:
parent
20bb4c5c61
commit
41ece4184b
1 changed files with 2 additions and 2 deletions
|
@ -26,9 +26,9 @@ impl std::fmt::Write for Printer {
|
||||||
fn write_str(&mut self, s: &str) -> std::fmt::Result {
|
fn write_str(&mut self, s: &str) -> std::fmt::Result {
|
||||||
match self {
|
match self {
|
||||||
Self::Default | Self::Verbose => {
|
Self::Default | Self::Verbose => {
|
||||||
#[allow(clippy::print_stdout)]
|
#[allow(clippy::print_stderr)]
|
||||||
{
|
{
|
||||||
print!("{s}");
|
eprint!("{s}");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Self::Quiet => {}
|
Self::Quiet => {}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue