Skip to content

Commit b71444b

Browse files
j15zclaude
andcommitted
style(chunkers): wrap the FAQ replace call for biome
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
1 parent e814d46 commit b71444b

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

apps/sim/lib/chunkers/docs-chunker.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,9 @@ export class DocsChunker {
255255
.replace(/\r/g, '\n')
256256
.replace(/^import\s+.*$/gm, '')
257257
.replace(/^export\s+.*$/gm, '')
258-
.replace(/<FAQ\s+items=\{\[([\s\S]*?)\]\}\s*\/>/g, (_m, items: string) => extractFaqProse(items))
258+
.replace(/<FAQ\s+items=\{\[([\s\S]*?)\]\}\s*\/>/g, (_m, items: string) =>
259+
extractFaqProse(items)
260+
)
259261
.replace(/<\/?[a-zA-Z][^>]*>/g, ' ')
260262
.replace(/\{\/\*[\s\S]*?\*\/\}/g, ' ')
261263
.replace(/\{[^{}]*\}/g, ' ')

0 commit comments

Comments
 (0)