Compare commits
2 Commits
a2ee32f961
...
fbf3c5001d
Author | SHA1 | Date |
---|---|---|
Annie Sun | fbf3c5001d | |
Annie Sun | 9754d0a1ef |
|
@ -54,11 +54,9 @@ async function getExec(exec: Exec) {
|
|||
(exec.person.lastName ? `-${exec.person.lastName}` : "");
|
||||
|
||||
try {
|
||||
console.log(path.join(EXECS_PATH, `${expectedFileName}${FILETYPE}`));
|
||||
const raw = await readFile(
|
||||
path.join(EXECS_PATH, `${expectedFileName}${FILETYPE}`)
|
||||
);
|
||||
console.log(matter(raw).content);
|
||||
({ content, data: metadata } = matter(raw));
|
||||
|
||||
const image = await getMemberImagePath(metadata.name as string);
|
||||
|
|
Loading…
Reference in New Issue