Skip to content

Commit

Permalink
#9 Added multiline values into exclude option
Browse files Browse the repository at this point in the history
  • Loading branch information
Mikhail Epatko committed Mar 10, 2024
1 parent 9576426 commit faafaa0
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion action.yml
Expand Up @@ -39,7 +39,6 @@ runs:
run: |
gem install hoc
pip install anybadge
echo "*********** $EXCLUDE ***********"
$GITHUB_ACTION_PATH/generate-badge.sh \
-b $BEFORE \
-d $DIR \
Expand Down
2 changes: 0 additions & 2 deletions generate-badge.sh
Expand Up @@ -34,8 +34,6 @@ done

if [ "$Before" == '[]' ]; then Before="$(date +%F)"; fi
if [ "$Excld" != '[]' ]; then
echo "$Excld"

IFS=$'\n' read -rd '' -a array <<< "$Excld"
for word in "${array[@]}"; do
Exclude="${Exclude} -e $word"
Expand Down

0 comments on commit faafaa0

Please sign in to comment.