Skip to content

Commit e5e7ee2

Browse files
committed
fix: TS is not engineered
1 parent c689fef commit e5e7ee2

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

src/domain/CalendarEvent.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,10 @@ export class CalendarEvent {
7171
};
7272
}
7373

74+
get title(): Name {
75+
return this.#title;
76+
}
77+
7478
static of(builder: CalendarEventBuilder) {
7579
return new CalendarEvent(builder);
7680
}

src/update.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ icsCalendarRepository
1313
.get()
1414
.then((events) => {
1515
const skipEventsTitle = 'Migration du calendrier LTH';
16-
console.log(JSON.stringify(serialize(events.filter((event) => event.#title.get() !== skipEventsTitle))));
16+
console.log(JSON.stringify(serialize(events.filter((event) => event.title.get() !== skipEventsTitle))));
1717
return process.exit(0);
1818
})
1919
.catch((error) => {

0 commit comments

Comments
 (0)