Skip to content

Commit ebe0a0e

Browse files
author
Greg Bowler
committed
split path string
for #7
1 parent 3430d72 commit ebe0a0e

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

phpstan-action.bash

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,12 @@ fi
1717

1818
if [ -n "$ACTION_PATH" ]
1919
then
20-
command_string+=($ACTION_PATH)
20+
IFS=" "
21+
read -rasplitIFS<<< "$ACTION_PATH"
22+
for path in "${splitIFS[@]]}"
23+
do
24+
command_string+=("$path")
25+
done
2126
fi
2227

2328
if [ -n "$ACTION_CONFIGURATION" ]

0 commit comments

Comments
 (0)