1
0
Fork 0

test:add logging to confirm import and structure of ICAL

This commit is contained in:
Ryan Mwangi 2024-11-16 02:53:06 +03:00
parent 859d3f3db5
commit 3edc551031
1 changed files with 2 additions and 0 deletions

View File

@ -4,6 +4,8 @@ import path from 'path';
import axios from 'axios'; import axios from 'axios';
export const MERGED_CALENDARS_DIR = path.join(process.cwd(), 'calendar'); 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 // Ensure the merged calendars directory exists
fs.mkdirSync(MERGED_CALENDARS_DIR, { recursive: true }); fs.mkdirSync(MERGED_CALENDARS_DIR, { recursive: true });