Skip to content

Commit

Permalink
fix: broken exclusion parsing (#6)
Browse files Browse the repository at this point in the history
* fix: broken exclusion parsing
  • Loading branch information
adthrasher authored Nov 11, 2024
1 parent 40b69a1 commit 44131be
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,13 @@ 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 44131be

Please sign in to comment.