fix prettier

This commit is contained in:
circular 2025-07-02 13:01:17 +10:00
parent 2f41c06336
commit fff69e21e1
No known key found for this signature in database
GPG Key ID: 5FD9E3482ABB74DE

View File

@ -251,10 +251,11 @@ async function rebuild(changes: ChangeEvent[], clientRefresh: () => void, buildD
// update allFiles and then allSlugs with the consistent view of content map // update allFiles and then allSlugs with the consistent view of content map
ctx.allFiles = Array.from(contentMap.keys()) ctx.allFiles = Array.from(contentMap.keys())
ctx.allSlugs = ctx.allFiles.map((fp) => slugifyFilePath(fp as FilePath)) ctx.allSlugs = ctx.allFiles.map((fp) => slugifyFilePath(fp as FilePath))
let processedFiles = filterContent(ctx, let processedFiles = filterContent(
ctx,
Array.from(contentMap.values()) Array.from(contentMap.values())
.filter((file) => file.type === "markdown") .filter((file) => file.type === "markdown")
.map((file) => file.content) .map((file) => file.content),
) )
let emittedFiles = 0 let emittedFiles = 0