chore: debug

This commit is contained in:
Cory Dransfeldt 2024-04-03 20:21:35 -07:00
parent 0310bd98d8
commit f3fd479035
No known key found for this signature in database

View file

@ -1,19 +1,19 @@
import fs from 'fs' import fs from 'fs'
export default async function () { export default async function () {
// const window = fs.readFileSync('./json/scrobbles-window.json', (error, data) => { const window = fs.readFileSync('./src/_data/json/scrobbles-window.json', (error, data) => {
// if (error) { if (error) {
// console.log(error); console.log(error);
// return; return;
// } }
// return JSON.parse(data) return JSON.parse(data)
// }) })
// console.log(window) console.log(window)
// return window return window
fs.readdir('./src/_data/json/', (err, files) => { // fs.readdir('./src/_data/json/', (err, files) => {
files.forEach(file => { // files.forEach(file => {
console.log(file); // console.log(file);
}); // });
}); // });
} }