There was an error while loading. Please reload this page.
1 parent c689fef commit e5e7ee2Copy full SHA for e5e7ee2
2 files changed
src/domain/CalendarEvent.ts
@@ -71,6 +71,10 @@ export class CalendarEvent {
71
};
72
}
73
74
+ get title(): Name {
75
+ return this.#title;
76
+ }
77
+
78
static of(builder: CalendarEventBuilder) {
79
return new CalendarEvent(builder);
80
src/update.ts
@@ -13,7 +13,7 @@ icsCalendarRepository
13
.get()
14
.then((events) => {
15
const skipEventsTitle = 'Migration du calendrier LTH';
16
- console.log(JSON.stringify(serialize(events.filter((event) => event.#title.get() !== skipEventsTitle))));
+ console.log(JSON.stringify(serialize(events.filter((event) => event.title.get() !== skipEventsTitle))));
17
return process.exit(0);
18
})
19
.catch((error) => {
0 commit comments