Add --git to cargo update

This commit is contained in:
Roey Darwish Dror
2018-06-11 15:45:26 +03:00
parent 9689942a68
commit 716672162f

View File

@@ -24,7 +24,7 @@ pub fn run_tpm(tpm: &PathBuf) -> Result<(), failure::Error> {
pub fn run_cargo_update(cargo_update: &PathBuf) -> Result<(), failure::Error> {
Command::new(&cargo_update)
.args(&["install-update", "--all"])
.args(&["install-update", "--git", "--all"])
.spawn()?
.wait()?
.check()?;