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

pull/792/head^2
Fabian-Lars 1 year ago committed by GitHub
parent a848e1870a
commit 78e60e6618
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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);
}
}
}

Loading…
Cancel
Save