mirror of
https://github.com/tauri-apps/plugins-workspace.git
synced 2026-07-28 17:38:53 +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")]
|
#[error("temp directory is not on the same mount point as the AppImage")]
|
||||||
TempDirNotOnSameMountPoint,
|
TempDirNotOnSameMountPoint,
|
||||||
#[error("binary for the current target not found in the archive")]
|
#[error("binary for the current target not found in the archive")]
|
||||||
BinaryNotFoundInAcrhive,
|
BinaryNotFoundInArchive,
|
||||||
#[error(transparent)]
|
#[error(transparent)]
|
||||||
Http(#[from] http::Error),
|
Http(#[from] http::Error),
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -651,7 +651,7 @@ impl Update {
|
|||||||
// if we have not returned early we should restore the backup
|
// if we have not returned early we should restore the backup
|
||||||
std::fs::rename(tmp_app_image, &self.extract_path)?;
|
std::fs::rename(tmp_app_image, &self.extract_path)?;
|
||||||
|
|
||||||
return Err(Error::BinaryNotFoundInAcrhive);
|
return Err(Error::BinaryNotFoundInArchive);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user