Skip to content

Commit

Permalink
馃悰 Trim whitespace on repos list (#111)
Browse files Browse the repository at this point in the history
  • Loading branch information
jpoehnelt committed Sep 17, 2021
1 parent a8d5c6e commit 7f838d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ const parseConfig = async () => {
const groups = Array.isArray(rawObject) ? rawObject : [ rawObject ]

groups.forEach((group) => {
const repos = typeof group.repos === 'string' ? group.repos.split('\n').filter((n) => n) : group.repos
const repos = typeof group.repos === 'string' ? group.repos.split('\n').map((n) => n.trim()).filter((n) => n) : group.repos

repos.forEach((name) => {
const files = parseFiles(group.files)
Expand Down

0 comments on commit 7f838d5

Please sign in to comment.