Only run "valet install" if valet was updated (#315)
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user