From 3977664dd2be02a05c5db9828a157b6a56d33dab Mon Sep 17 00:00:00 2001 From: Ru Chern Chong Date: Tue, 12 Dec 2023 23:47:18 +0800 Subject: [PATCH] Add logs for file path --- packages/core/src/datasets.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/core/src/datasets.ts b/packages/core/src/datasets.ts index b639772..eaf1877 100644 --- a/packages/core/src/datasets.ts +++ b/packages/core/src/datasets.ts @@ -34,6 +34,9 @@ export const updater = async () => { } }); + console.log(fs.readdirSync(extractToPath)); + console.log(destinationPath); + const csvData = fs.readFileSync(destinationPath, "utf-8"); const parsedData = d3.csvParse(csvData);