mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-07-08 09:25:35 +08:00
Implement missing legacy options
This commit is contained in:
@@ -68,7 +68,8 @@ class DownloadCommand extends BaseCommand
|
|||||||
}
|
}
|
||||||
|
|
||||||
// resolve package dependencies and get artifacts directly
|
// resolve package dependencies and get artifacts directly
|
||||||
$resolved = DependencyResolver::resolve($packages, [], !$this->getOption('without-suggests'));
|
$suggests = !($this->getOption('without-suggests') || $this->getOption('without-suggestions'));
|
||||||
|
$resolved = DependencyResolver::resolve($packages, [], $suggests);
|
||||||
foreach ($resolved as $pkg_name) {
|
foreach ($resolved as $pkg_name) {
|
||||||
$pkg = PackageLoader::getPackage($pkg_name);
|
$pkg = PackageLoader::getPackage($pkg_name);
|
||||||
if ($artifact = $pkg->getArtifact()) {
|
if ($artifact = $pkg->getArtifact()) {
|
||||||
|
|||||||
Reference in New Issue
Block a user