Update create-matrix.js

This commit is contained in:
Aleksandr Statciuk 2021-10-07 21:00:36 +03:00
parent eb5ec6264b
commit cca36dce3d

View file

@ -1,6 +1,6 @@
const file = require('./file.js')
file.list([], ['us-local']).then(files => {
file.list(['ad'], ['us-local']).then(files => {
const country = files.map(file => file.replace(/channels\/|\.xml/gi, ''))
const days = country.map(() => 2)
const matrix = { country, days }