From 3f56f12b0b6f31c9e676125ca0025532d34e3b00 Mon Sep 17 00:00:00 2001 From: Greg Bowler Date: Wed, 23 Dec 2020 09:36:54 +0000 Subject: [PATCH] Push no-ansi into command string array --- phpstan-action.bash | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/phpstan-action.bash b/phpstan-action.bash index 204c84f..288620f 100755 --- a/phpstan-action.bash +++ b/phpstan-action.bash @@ -8,7 +8,8 @@ phar_url="https://www.getrelease.download/phpstan/phpstan/$ACTION_VERSION/phar" curl --silent -H "User-agent: cURL (https://github.com/php-actions)" -L "$phar_url" > "${github_action_path}/phpstan.phar" chmod +x "${github_action_path}/phpstan.phar" -command_string=("phpstan --no-ansi") +command_string=("phpstan") +command_string+=("--no-ansi") if [ -n "$ACTION_COMMAND" ] then