Skip to content

Commit

Permalink
split path string
Browse files Browse the repository at this point in the history
for #7
  • Loading branch information
g105b committed Feb 9, 2022
1 parent 3430d72 commit ebe0a0e
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion phpstan-action.bash
Original file line number Diff line number Diff line change
Expand Up @@ -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" ]
Expand Down

0 comments on commit ebe0a0e

Please sign in to comment.