Skip to content

Commit 5178468

Browse files
committed
Merge pull request composer#135 from stof/patch-1
Fixed the handling of metapackages
2 parents 1f7fce1 + d7961e4 commit 5178468

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/Composer/Satis/Command/BuildCommand.php

+3
Original file line numberDiff line numberDiff line change
@@ -330,6 +330,9 @@ private function dumpDownloads(array $config, array &$packages, InputInterface
330330

331331
/* @var \Composer\Package\CompletePackage $package */
332332
foreach ($packages as $name => $package) {
333+
if ('metapackage' === $package->getType()) {
334+
continue;
335+
}
333336

334337
if (true === $skipDev && true === $package->isDev()) {
335338
$output->writeln(sprintf("<info>Skipping '%s' (is dev)</info>", $name));

0 commit comments

Comments
 (0)