Skip to content

Commit 116cd9a

Browse files
committed
fix(ci): widen manifest extension filter to .yaml and .yml
Mirror src/core/manifest/load-manifest.ts so the website snapshot can't drift from the runtime tool list if a .yml manifest is ever added. Addresses Cursor Bugbot review on #372.
1 parent 1f5d5a9 commit 116cd9a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

scripts/build-website-manifest.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ function usage() {
4545
}
4646

4747
async function loadYamlDir(dir) {
48-
const entries = (await readdir(dir)).filter((f) => f.endsWith(".yaml"));
48+
const entries = (await readdir(dir)).filter((f) => f.endsWith(".yaml") || f.endsWith(".yml"));
4949
return Promise.all(
5050
entries.map(async (f) => parseYaml(await readFile(path.join(dir, f), "utf8"))),
5151
);

0 commit comments

Comments
 (0)