Fix Error::TmpdirIo error message (#1987)

This commit is contained in:
Casey Rodarmor 2024-04-01 01:11:43 -07:00 committed by GitHub
parent d3d0dbef7d
commit c237c0097b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -399,7 +399,7 @@ impl<'src> ColorDisplay for Error<'src> {
}
TmpdirIo { recipe, io_error } => {
write!(f, "Recipe `{recipe}` could not be run because of an IO error while trying to create a temporary \
directory or write a file to that directory`:{io_error}")?;
directory or write a file to that directory: {io_error}")?;
}
Unknown { recipe, line_number} => {
if let Some(n) = line_number {