From 010306fda8adcfb2e055994590992c04c43efe24 Mon Sep 17 00:00:00 2001 From: "Roland Franssen :)" Date: Sat, 1 Jul 2023 14:00:12 +0200 Subject: [PATCH] Update Psalm.php --- src/Psalm/Internal/Cli/Psalm.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Psalm/Internal/Cli/Psalm.php b/src/Psalm/Internal/Cli/Psalm.php index 5024abeee..536ad8282 100644 --- a/src/Psalm/Internal/Cli/Psalm.php +++ b/src/Psalm/Internal/Cli/Psalm.php @@ -184,7 +184,7 @@ final class Psalm } // debug CI environment - if (!in_array('--debug', $option, true) && 'true' === getenv('GITHUB_ACTIONS') && '1' === getenv('RUNNER_DEBUG')) { + if (!in_array('--debug', $options, true) && 'true' === getenv('GITHUB_ACTIONS') && '1' === getenv('RUNNER_DEBUG')) { array_unshift('--debug', $options); }