fix(updater): Typo in error enum (#812)

This commit is contained in:
Fabian-Lars authored and GitHub committed 2023-12-11 15:19:05 -03:00
1 parent a848e1870a
commit 78e60e6618
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -63,7 +63,7 @@ pub enum Error {
#[error("temp directory is not on the same mount point as the AppImage")]
TempDirNotOnSameMountPoint,
#[error("binary for the current target not found in the archive")]
BinaryNotFoundInAcrhive,
BinaryNotFoundInArchive,
#[error(transparent)]
Http(#[from] http::Error),
}
+1 -1
View File
@@ -651,7 +651,7 @@ impl Update {
// if we have not returned early we should restore the backup
std::fs::rename(tmp_app_image, &self.extract_path)?;
return Err(Error::BinaryNotFoundInAcrhive);
return Err(Error::BinaryNotFoundInArchive);
}
}
}