forked from wgroeneveld/go-jamming
remove debug info
This commit is contained in:
parent
2360186d5a
commit
e611198801
|
@ -9,7 +9,6 @@ function validate(params) {
|
||||||
|
|
||||||
async function load(domain) {
|
async function load(domain) {
|
||||||
const fileEntries = await fsp.readdir(`data/${domain}`, { withFileTypes: true });
|
const fileEntries = await fsp.readdir(`data/${domain}`, { withFileTypes: true });
|
||||||
console.log(fileEntries)
|
|
||||||
|
|
||||||
const files = await Promise.all(fileEntries.map(async (file) => {
|
const files = await Promise.all(fileEntries.map(async (file) => {
|
||||||
const contents = await fsp.readFile(`data/${domain}/${file.name}`, 'utf-8')
|
const contents = await fsp.readFile(`data/${domain}/${file.name}`, 'utf-8')
|
||||||
|
|
Loading…
Reference in New Issue