From 3379ae463a364773ee5d77cfdf04c1d0ad2672ae Mon Sep 17 00:00:00 2001 From: Aleksandr Statciuk Date: Tue, 12 Oct 2021 21:50:43 +0300 Subject: [PATCH] Update create-matrix.js --- scripts/create-matrix.js | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/scripts/create-matrix.js b/scripts/create-matrix.js index 76b63ba7..9f2da9d6 100644 --- a/scripts/create-matrix.js +++ b/scripts/create-matrix.js @@ -1,14 +1,10 @@ const file = require('./file') const parser = require('./parser') -const days = 2 -const includes = [] - -file.list('sites/*.channels.xml', includes).then(files => { +file.list('sites/*.channels.xml', ['sites/andorradifusio.ad.channels.xml']).then(files => { const matrix = { site: [], - country: [], - days: [] + country: [] } files.forEach(filename => { @@ -17,7 +13,6 @@ file.list('sites/*.channels.xml', includes).then(files => { parsed.groups.forEach(group => { matrix.site.push(parsed.site) matrix.country.push(group.country.toLowerCase()) - matrix.days.push(days) }) })