Skip to content

Commit

Permalink
Push no-ansi into command string array
Browse files Browse the repository at this point in the history
  • Loading branch information
g105b committed Dec 23, 2020
1 parent a4e5406 commit 3f56f12
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion phpstan-action.bash
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3f56f12

Please sign in to comment.