Skip to content

Commit

Permalink
Filter out empty lines
Browse files Browse the repository at this point in the history
  • Loading branch information
danielgblanco committed Sep 4, 2024
1 parent 056633a commit e9138ac
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions scripts/gc-elections/create-gihub-comments.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,10 @@ do
handle="${BASH_REMATCH[1]}"
contributions="${BASH_REMATCH[2]//[$'\r\n']}"

if [[ -z $handle ]]; then
continue
fi

msg="${msg}\\n* @${handle}"
((counter++))

Expand Down

0 comments on commit e9138ac

Please sign in to comment.