Skip to content

Commit

Permalink
fix: filename for self check
Browse files Browse the repository at this point in the history
  • Loading branch information
mistydemeo committed Jan 23, 2024
1 parent 5a0b22e commit 44ffb45
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ impl AxoUpdater {
};

// Happens if the binary didn't get renamed properly
if app_name == "axoupdate" {
if app_name == "axoupdater" {
return Err(AxoupdateError::UpdateSelf {});
};

Expand Down Expand Up @@ -246,7 +246,7 @@ pub enum AxoupdateError {
#[error("No releases were found for the app {app_name} in workspace {name}")]
ReleaseNotFound { name: String, app_name: String },

#[error("App name calculated as `axoupdate'")]
#[error("App name calculated as `axoupdater'")]
#[diagnostic(help(
"This probably isn't what you meant to update; was the updater installed correctly?"
))]
Expand Down

0 comments on commit 44ffb45

Please sign in to comment.