forked from ryanmwangi/CalMerger
test:add logging to confirm import and structure of ICAL
This commit is contained in:
parent
859d3f3db5
commit
3edc551031
|
@ -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 });
|
||||||
|
|
Loading…
Reference in New Issue