Skip to content

Commit

Permalink
Extend comment about loop integration
Browse files Browse the repository at this point in the history
  • Loading branch information
apfelbox committed Oct 12, 2022
1 parent a9c6bb7 commit a9f2f34
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Composer/StudioPlugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,8 @@ public function registerStudioPackages()
foreach ($this->getManagedPaths() as $path) {
$this->io->writeError("[Studio] Loading path $path");

// In case composer version >= 2.3.0
// Composer v2 always exposes the internal loop, so keep reusing it
// that is a fixed requirement since Composer >= 2.3
if (method_exists($this->composer, 'getLoop')) {
$repoManager->prependRepository(new PathRepository(
['url' => $path],
Expand Down

0 comments on commit a9f2f34

Please sign in to comment.