Skip to content

Commit

Permalink
Ignore I/O errors when writing changelog to stdout (#2558)
Browse files Browse the repository at this point in the history
  • Loading branch information
casey authored Jan 2, 2025
1 parent b7696e1 commit 74dabba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/subcommand.rs
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ impl Subcommand {
}

fn changelog() {
print!("{}", include_str!("../CHANGELOG.md"));
write!(io::stdout(), "{}", include_str!("../CHANGELOG.md")).ok();
}

fn choose<'src>(
Expand Down

0 comments on commit 74dabba

Please sign in to comment.