mirror of https://github.com/astral-sh/uv
Print to stderr by default (#134)
This commit is contained in:
parent
20bb4c5c61
commit
41ece4184b
|
|
@ -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…
Reference in New Issue