Skip to content

Commit

Permalink
fix: broken exclusion parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
adthrasher committed Nov 11, 2024
1 parent 40b69a1 commit 244a14d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,12 @@ exclusions=${INPUT_PATTERNS}
if [ -n "$exclusions" ]; then
echo "Exclusions provided. Writing to .sprocket.yml."
echo -n "" > .sprocket.yml
for exclusion in $(echo $exclusions | sed 's/,/ /')
for exclusion in $(echo $exclusions | sed 's/,/ /g')
do
echo "$exclusion" >> .sprocket.yml
done

echo " [***] Exclusions [***]"
cat .sprocket.yml
fi

EXITCODE=0
Expand Down

0 comments on commit 244a14d

Please sign in to comment.