fix(self-update): fix windows self-update reporting failure on successful self-update (#1452)

This commit is contained in:
Bodebojo
2025-11-10 17:04:03 +01:00
committed by GitHub
parent 17d715479a
commit 051784ac0d
4 changed files with 6 additions and 33 deletions

View File

@@ -116,14 +116,3 @@ impl Display for SkipStep {
write!(f, "{}", self.0)
}
}
#[cfg(all(windows, feature = "self-update"))]
#[derive(Error, Debug)]
pub struct Upgraded(pub ExitStatus);
#[cfg(all(windows, feature = "self-update"))]
impl Display for Upgraded {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
write!(f, "{}", t!("Topgrade Upgraded"))
}
}