From a1ce2fcf1674fb113a0b5488bc0d1e2a94db06e9 Mon Sep 17 00:00:00 2001 From: "Eirik S. Morland" Date: Wed, 24 Apr 2019 14:08:48 +0200 Subject: [PATCH] Re-do composer install on consecutive runs. Relates to #105 --- src/CosyComposer.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/CosyComposer.php b/src/CosyComposer.php index c40ffcc5..5f9173a8 100644 --- a/src/CosyComposer.php +++ b/src/CosyComposer.php @@ -943,6 +943,9 @@ public function run() } $this->log('Checking out default branch - ' . $default_branch); $this->execCommand('git checkout ' . $default_branch, false); + // Re-do composer install to make output better, and to make the lock file actually be there for + // consecutive updates, if it is a project without it. + $this->doComposerInstall(); } // Clean up. $this->cleanUp();