Skip to content

Commit

Permalink
Re-do composer install on consecutive runs. Relates to #105
Browse files Browse the repository at this point in the history
  • Loading branch information
eiriksm committed Apr 24, 2019
1 parent 4244e53 commit a1ce2fc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/CosyComposer.php
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit a1ce2fc

Please sign in to comment.