Skip to content

Commit 37d1262

Browse files
committed
fixup!
1 parent 8d497d0 commit 37d1262

File tree

2 files changed

+16
-21
lines changed

2 files changed

+16
-21
lines changed

src/meeting.mjs

Lines changed: 6 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,8 @@
1-
import { readFile } from 'node:fs/promises';
2-
import { join } from 'node:path';
3-
4-
import { parse } from 'dotenv';
5-
6-
import { DEFAULT_CONFIG } from './constants.mjs';
7-
import * as dates from './utils/dates.mjs';
8-
import * as templates from './utils/templates.mjs';
9-
import * as urls from './utils/urls.mjs';
1+
import { formatTimezones } from './utils/dates.mjs';
2+
import {
3+
generateTimeAndDateLink,
4+
generateWolframAlphaLink,
5+
} from './utils/urls.mjs';
106

117
/**
128
* Loads a meeting configuration file
@@ -21,17 +17,7 @@ export const load = async meetingGroup => {
2117

2218
config.github.agendaTag ??= `${meetingGroup}-agenda`;
2319

24-
const baseMeetingInfo = await readFile(
25-
join(config.directories.templates, `meeting_base_${config.meetingGroup}`),
26-
'utf8'
27-
);
28-
29-
return {
30-
invited,
31-
observers,
32-
baseMeetingInfo,
33-
properties: parse(baseMeetingInfo),
34-
};
20+
return config;
3521
};
3622

3723
/**

template.hbs

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,4 +50,13 @@ Extracted from **{{{config.github.agendaTag}}}** labelled issues and pull reques
5050
## Joining the meeting
5151

5252
* To join this meeting, visit <{{{config.meeting.links.participant}}}>.
53-
* To observe this meeting, visit <{{{config.meeting.links.observer}}}>.
53+
* To observe this meeting, visit <{{{config.meeting.links.observer}}}>.
54+
55+
**Invitees**
56+
57+
Please use the following emoji reactions in this post to indicate your
58+
availability.
59+
60+
* :+1: - Attending
61+
* :-1: - Not attending
62+
* :confused: - Not sure

0 commit comments

Comments
 (0)