mirror of
https://github.com/crate-ci/typos.git
synced 2024-12-22 23:52:12 -05:00
fix(diff): Handle broken pipe
This commit is contained in:
parent
26ad06e961
commit
1b3f1f6b46
1 changed files with 1 additions and 1 deletions
|
@ -236,7 +236,7 @@ impl FileChecker for DiffTypos {
|
|||
0,
|
||||
);
|
||||
for line in diff {
|
||||
print!("{}", line);
|
||||
write!(std::io::stdout(), "{}", line)?;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue