From 3edc5510310d0589786072d10aa51a18a82c6ddc Mon Sep 17 00:00:00 2001 From: Ryan Mwangi Date: Sat, 16 Nov 2024 02:53:06 +0300 Subject: [PATCH] test:add logging to confirm import and structure of ICAL --- src/calendarUtil.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/calendarUtil.js b/src/calendarUtil.js index 72d79a8..6a82d00 100644 --- a/src/calendarUtil.js +++ b/src/calendarUtil.js @@ -4,6 +4,8 @@ import path from 'path'; import axios from 'axios'; export const MERGED_CALENDARS_DIR = path.join(process.cwd(), 'calendar'); +console.log('ICAL:', ICAL); +console.log('ICAL.Component:', ICAL.Component); // Ensure the merged calendars directory exists fs.mkdirSync(MERGED_CALENDARS_DIR, { recursive: true });