There was an error while loading. Please reload this page.
1 parent 17c63e0 commit 2840f1dCopy full SHA for 2840f1d
1 file changed
src/Commands/Compose.php
@@ -51,8 +51,10 @@ public function execute(): void
51
// Only process the specified packages (and their dependencies)
52
$packages = $finder->getPackagesBySlugs($packagesToProcess);
53
$packages = $finder->findPackages($packages);
54
- } else {
55
- // If no packages specified, use all dependencies from root package
+ }
+
56
+ // If no packages specified, use all dependencies from root package
57
+ if (empty($packagesToProcess)) {
58
$package->loadDependencies($finder);
59
$packages = $finder->findPackages($package->getDependencies());
60
}
0 commit comments