Only run "valet install" if valet was updated (#315)

This commit is contained in:
Morten Scheel
2020-02-10 21:10:06 +01:00
committed by GitHub
parent d72a17b1dc
commit c3b8449eb7
3 changed files with 10 additions and 5 deletions

View File

@@ -306,9 +306,12 @@ fn run() -> Result<()> {
if config.should_run(Step::Node) {
runner.execute("NPM", || node::run_npm_upgrade(&base_dirs, run_type))?;
runner.execute("composer", || generic::run_composer_update(&base_dirs, run_type))?;
runner.execute("yarn", || node::yarn_global_update(run_type))?;
}
if config.should_run(Step::Composer) {
runner.execute("composer", || generic::run_composer_update(&base_dirs, run_type))?;
}
#[cfg(not(any(
target_os = "freebsd",