lib/cache: fix dropped plural folder
commit4621cb3d99868861f226b70e66a7338b9811a53a
authorMatilde Park <matilde.park@urbit.org>
dateThu 28 Apr 2022, 22:38 (4 years ago)
parent5f4014a
lib/cache.js+1−1
@@ -27,7 +27,7 @@ function buildSearchIndex(dir) {
2727
2828 const children = fs.readdirSync(dir, { withFileTypes: true });
2929 const pages = children.filter((f) => f.isFile() && f.name !== "_index.md");
30− const subdirs = children.filter((f) => f.isDirectory() && f.name !== "id");
30+ const subdirs = children.filter((f) => f.isDirectory() && f.name !== "ids");
3131
3232 index.push(
3333 ...pages.map((page) => {