Skip to content

Commit 78e60e6

Browse files
authored
fix(updater): Typo in error enum (#812)
1 parent a848e18 commit 78e60e6

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

plugins/updater/src/error.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ pub enum Error {
6363
#[error("temp directory is not on the same mount point as the AppImage")]
6464
TempDirNotOnSameMountPoint,
6565
#[error("binary for the current target not found in the archive")]
66-
BinaryNotFoundInAcrhive,
66+
BinaryNotFoundInArchive,
6767
#[error(transparent)]
6868
Http(#[from] http::Error),
6969
}

plugins/updater/src/updater.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -651,7 +651,7 @@ impl Update {
651651
// if we have not returned early we should restore the backup
652652
std::fs::rename(tmp_app_image, &self.extract_path)?;
653653

654-
return Err(Error::BinaryNotFoundInAcrhive);
654+
return Err(Error::BinaryNotFoundInArchive);
655655
}
656656
}
657657
}

0 commit comments

Comments
 (0)