mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-07-21 15:55:36 +08:00
use key, woops
This commit is contained in:
@@ -64,7 +64,7 @@ class DownloadCommand extends BaseCommand
|
|||||||
!str_contains($name, '-Linux-') &&
|
!str_contains($name, '-Linux-') &&
|
||||||
!str_contains($name, '-Windows-') &&
|
!str_contains($name, '-Windows-') &&
|
||||||
!str_contains($name, '-Darwin-');
|
!str_contains($name, '-Darwin-');
|
||||||
});
|
}, ARRAY_FILTER_USE_KEY);
|
||||||
$input->setArgument('sources', implode(',', array_keys($sources_to_check)));
|
$input->setArgument('sources', implode(',', array_keys($sources_to_check)));
|
||||||
}
|
}
|
||||||
parent::initialize($input, $output);
|
parent::initialize($input, $output);
|
||||||
|
|||||||
Reference in New Issue
Block a user