chore: debug

This commit is contained in:
Cory Dransfeldt 2024-04-03 20:23:23 -07:00
parent f3fd479035
commit 70e38cd6e1
No known key found for this signature in database

View file

@ -1,12 +1,13 @@
import fs from 'fs' import fs from 'fs'
export default async function () { export default async function () {
const window = fs.readFileSync('./src/_data/json/scrobbles-window.json', (error, data) => { let 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) window = JSON.parse(data)
}) })
console.log(window) console.log(window)
return window return window