From 2a9ce11403357c436122648cecbe28ef8ddcca78 Mon Sep 17 00:00:00 2001 From: Matthew Grasmick Date: Thu, 25 Jan 2018 14:50:01 -0500 Subject: [PATCH] Leaving vendor in place during reinstall. --- src/Robo/Commands/Blt/UpdateCommand.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Robo/Commands/Blt/UpdateCommand.php b/src/Robo/Commands/Blt/UpdateCommand.php index da6cce12b..f5a3cd0f8 100644 --- a/src/Robo/Commands/Blt/UpdateCommand.php +++ b/src/Robo/Commands/Blt/UpdateCommand.php @@ -223,7 +223,6 @@ protected function reInstallComposerPackages() { $result = $this->taskFilesystemStack() ->remove([ $this->getConfigValue('repo.root') . '/composer.lock', - $this->getConfigValue('repo.root') . '/vendor', ]) ->setVerbosityThreshold(VerbosityThresholdInterface::VERBOSITY_VERBOSE) ->run(); @@ -233,7 +232,7 @@ protected function reInstallComposerPackages() { $result = $this->taskExecStack() ->dir($this->getConfigValue('repo.root')) - ->exec("composer install --no-interaction --ansi") + ->exec("composer update --no-interaction --ansi") ->run(); if (!$result->wasSuccessful()) {