From ebe0a0e21a015f4e7c0bc38b44f8ab0ea6beab03 Mon Sep 17 00:00:00 2001 From: Greg Bowler Date: Wed, 9 Feb 2022 10:50:53 +0000 Subject: [PATCH] split path string for #7 --- phpstan-action.bash | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/phpstan-action.bash b/phpstan-action.bash index a098cea..2a20d23 100755 --- a/phpstan-action.bash +++ b/phpstan-action.bash @@ -17,7 +17,12 @@ fi if [ -n "$ACTION_PATH" ] then - command_string+=($ACTION_PATH) + IFS=" " + read -rasplitIFS<<< "$ACTION_PATH" + for path in "${splitIFS[@]]}" + do + command_string+=("$path") + done fi if [ -n "$ACTION_CONFIGURATION" ]