Skip to content

Commit

Permalink
Merge pull request #3646 from arlosi/fix-stdout
Browse files Browse the repository at this point in the history
fix: Mixup between stderr and stdout introduced in v3.1.11
  • Loading branch information
epage authored Apr 22, 2022
2 parents a46ee83 + 854017b commit 61514bf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/output/fmt.rs
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,8 @@ impl Colorizer {
};

let writer = match self.stream {
Stream::Stdout => BufferWriter::stderr(color_when),
Stream::Stderr => BufferWriter::stdout(color_when),
Stream::Stderr => BufferWriter::stderr(color_when),
Stream::Stdout => BufferWriter::stdout(color_when),
};

let mut buffer = writer.buffer();
Expand Down

0 comments on commit 61514bf

Please sign in to comment.