lib/buildGlossary: rename

This commit is contained in:
Matilde Park 2022-10-18 20:45:17 -07:00
parent 2ee13cf066
commit dbd73ba7d1

View File

@ -45,7 +45,7 @@ function buildGlossary(dir) {
}
buildGlossary(path.join(process.cwd(), "content"));
const fileContents = `export const index = ${JSON.stringify(glossary)}`;
const fileContents = `export const glossary = ${JSON.stringify(glossary)}`;
try {
fs.readdirSync("cache");