From 9f7f746266fa9d09cb0d9a5dec2b9209ef75b191 Mon Sep 17 00:00:00 2001 From: crazywhalecc Date: Tue, 20 May 2025 23:43:04 +0800 Subject: [PATCH] Test token in command --- src/SPC/command/InstallPkgCommand.php | 2 ++ src/globals/test-extensions.php | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/SPC/command/InstallPkgCommand.php b/src/SPC/command/InstallPkgCommand.php index b1ea3cd5..c7e96086 100644 --- a/src/SPC/command/InstallPkgCommand.php +++ b/src/SPC/command/InstallPkgCommand.php @@ -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) { diff --git a/src/globals/test-extensions.php b/src/globals/test-extensions.php index 0b16bb0c..f28c8069 100644 --- a/src/globals/test-extensions.php +++ b/src/globals/test-extensions.php @@ -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: