Skip to content

Commit

Permalink
fix windows
Browse files Browse the repository at this point in the history
  • Loading branch information
matklad committed Dec 23, 2024
1 parent a7753d2 commit fa59b9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ impl fmt::Display for CmdError {
}
}
#[cfg(not(unix))]
None => write!(f, "command was terminated by a signal `{cmd}`{nl}"),
None => write!(f, "command was terminated by a signal `{cmd}`{nl}")?,
},
CmdErrorKind::Utf8(err) => {
write!(f, "command produced invalid utf-8 `{cmd}`: {err}")?;
Expand Down

0 comments on commit fa59b9c

Please sign in to comment.