Skip to content

Commit

Permalink
Leaving vendor in place during reinstall. (#2497)
Browse files Browse the repository at this point in the history
  • Loading branch information
grasmash authored Jan 26, 2018
1 parent be40fef commit 9dbfc0d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Robo/Commands/Blt/UpdateCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand All @@ -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()) {
Expand Down

0 comments on commit 9dbfc0d

Please sign in to comment.