Skip to content

Commit

Permalink
#9 test multiline values
Browse files Browse the repository at this point in the history
  • Loading branch information
Mikhail Epatko committed Mar 10, 2024
1 parent 102a77b commit 087997b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions generate-badge.sh
Expand Up @@ -34,6 +34,8 @@ 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 087997b

Please sign in to comment.