mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-03-19 13:24:51 +08:00
Implement missing legacy options
This commit is contained in:
parent
71d803d36f
commit
2f8570b59e
@ -68,7 +68,8 @@ class DownloadCommand extends BaseCommand
|
||||
}
|
||||
|
||||
// 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) {
|
||||
$pkg = PackageLoader::getPackage($pkg_name);
|
||||
if ($artifact = $pkg->getArtifact()) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user