1 parent 4e09695 commit 88e789aCopy full SHA for 88e789a
1 file changed
.github/scripts/sync-meetup-events.mjs
@@ -153,6 +153,9 @@ async function calendarFiles() {
153
154
async function main() {
155
const configuredGroups = await groups();
156
+ if (configuredGroups.length === 0) {
157
+ throw new Error(`No Meetup group links found in ${USER_GROUPS_DIR}.`);
158
+ }
159
const groupEvents = await Promise.all(configuredGroups.map(fetchGroupEvents));
160
await mkdir(CALENDAR_DIR, { recursive: true });
161
0 commit comments