Run valet install after compose update (fix #99)

This commit is contained in:
Roey Darwish Dror
2018-12-17 10:53:05 +02:00
parent c916b2920d
commit 83b6f9ace4
2 changed files with 7 additions and 1 deletions

View File

@@ -248,6 +248,11 @@ pub fn run_composer_update(base_dirs: &BaseDirs, dry_run: bool) -> Option<(&'sta
.spawn()?
.wait()?
.check()?;
if let Some(valet) = utils::which("valet") {
Executor::new(&valet, dry_run).arg("install").spawn()?.wait()?.check()?;
}
Ok(())
}()
.is_ok();