Test token in command

This commit is contained in:
crazywhalecc
2025-05-20 23:43:04 +08:00
parent 6bafacd80d
commit 9f7f746266
2 changed files with 2 additions and 1 deletions

View File

@@ -37,6 +37,8 @@ class InstallPkgCommand extends BaseCommand
define('GIT_SHALLOW_CLONE', true); define('GIT_SHALLOW_CLONE', true);
} }
var_dump(getenv('GITHUB_TOKEN'));
// Process -U options // Process -U options
$custom_urls = []; $custom_urls = [];
foreach ($this->input->getOption('custom-url') as $value) { foreach ($this->input->getOption('custom-url') as $value) {

View File

@@ -209,7 +209,6 @@ switch ($argv[1] ?? null) {
passthru($prefix . $doctor_cmd, $retcode); passthru($prefix . $doctor_cmd, $retcode);
break; break;
case 'install_upx_cmd': case 'install_upx_cmd':
var_dump(getenv('GITHUB_TOKEN'));
passthru($prefix . $install_upx_cmd, $retcode); passthru($prefix . $install_upx_cmd, $retcode);
break; break;
default: default: