No need for patched self_upgrade

This commit is contained in:
Roey Darwish Dror
2019-01-13 22:54:51 +02:00
parent ab5b02c6c8
commit 235df19ac5
3 changed files with 6 additions and 9 deletions

View File

@@ -28,7 +28,7 @@ pub fn self_update() -> Result<(), Error> {
.no_confirm(true)
.build()
})
.and_then(|u| u.update2())
.and_then(|u| u.update_extended())
.context(ErrorKind::SelfUpdate)?;
if let GitHubUpdateStatus::Updated(release) = &result {