mirror of
https://github.com/tauri-apps/plugins-workspace.git
synced 2026-04-21 11:26:15 +02:00
fix(updater): Typo in error enum (#812)
This commit is contained in:
@@ -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),
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user