From 7f838d50ff8634be8ec848055af88a0a651d6896 Mon Sep 17 00:00:00 2001 From: Justin Poehnelt Date: Fri, 17 Sep 2021 04:24:27 -0600 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Trim=20whitespace=20on=20repos?= =?UTF-8?q?=20list=20(#111)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config.js b/src/config.js index f4e10b08..db51f028 100644 --- a/src/config.js +++ b/src/config.js @@ -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)