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()) {