Try to restore cargo fmt

This commit is contained in:
Roey Darwish Dror
2018-12-11 16:00:19 +02:00
parent 4c1d26e120
commit f23b6435bf
14 changed files with 84 additions and 46 deletions

View File

@@ -17,7 +17,8 @@ pub fn upgrade_freebsd(sudo: &Option<PathBuf>, dry_run: bool) -> Option<(&'stati
.wait()?
.check()?;
Ok(())
}().is_ok();
}()
.is_ok();
Some(("FreeBSD Update", success))
} else {
@@ -38,7 +39,8 @@ pub fn upgrade_packages(sudo: &Option<PathBuf>, dry_run: bool) -> Option<(&'stat
.wait()?
.check()?;
Ok(())
}().is_ok();
}()
.is_ok();
Some(("FreeBSD Packages", success))
} else {