Skip to content

Commit f7fe06a

Browse files
committed
lint
1 parent e391efa commit f7fe06a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,9 @@ export class RegexChunker {
8484
const segments = cleaned.split(this.regex).filter((s) => s.trim().length > 0)
8585

8686
if (segments.length <= 1) {
87-
logger.warn('Regex pattern did not produce any splits, falling back to word-boundary splitting')
87+
logger.warn(
88+
'Regex pattern did not produce any splits, falling back to word-boundary splitting'
89+
)
8890
const chunkSizeChars = tokensToChars(this.chunkSize)
8991
let chunks = splitAtWordBoundaries(cleaned, chunkSizeChars)
9092
if (this.chunkOverlap > 0) {

0 commit comments

Comments
 (0)