@mutmutco/cli 3.91.0 → 3.92.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/main.cjs +1 -1
- package/package.json +1 -1
package/dist/main.cjs
CHANGED
|
@@ -25636,7 +25636,7 @@ async function checkDocsIndexAtHead(opts, deps) {
|
|
|
25636
25636
|
if (!await deps.refResolves(root, ref)) return void 0;
|
|
25637
25637
|
const paths = await deps.listDocsAtRef(root, ref);
|
|
25638
25638
|
if (!paths.includes(DOCS_INDEX_PATH)) return void 0;
|
|
25639
|
-
const relDocs = paths.filter((p) => p.startsWith("docs/")).map((p) => p.slice("docs/".length)).filter(isRoutableDocsPath);
|
|
25639
|
+
const relDocs = paths.filter((p) => p.startsWith("docs/") && p.endsWith(".md")).map((p) => p.slice("docs/".length)).filter(isRoutableDocsPath);
|
|
25640
25640
|
const [indexContent, docContents] = await Promise.all([
|
|
25641
25641
|
deps.readAtRef(root, ref, DOCS_INDEX_PATH),
|
|
25642
25642
|
Promise.all(relDocs.map((rel) => deps.readAtRef(root, ref, `docs/${rel}`)))
|
package/package.json
CHANGED