mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-07-22 00:05:37 +08:00
Test token in command
This commit is contained in:
@@ -37,6 +37,8 @@ class InstallPkgCommand extends BaseCommand
|
||||
define('GIT_SHALLOW_CLONE', true);
|
||||
}
|
||||
|
||||
var_dump(getenv('GITHUB_TOKEN'));
|
||||
|
||||
// Process -U options
|
||||
$custom_urls = [];
|
||||
foreach ($this->input->getOption('custom-url') as $value) {
|
||||
|
||||
@@ -209,7 +209,6 @@ switch ($argv[1] ?? null) {
|
||||
passthru($prefix . $doctor_cmd, $retcode);
|
||||
break;
|
||||
case 'install_upx_cmd':
|
||||
var_dump(getenv('GITHUB_TOKEN'));
|
||||
passthru($prefix . $install_upx_cmd, $retcode);
|
||||
break;
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user