stringUtils.ts

This commit is contained in:
nirholas
2026-03-31 10:24:30 +00:00
parent f9356db198
commit e506922dcb

View File

@@ -233,3 +233,4 @@ export function truncateToLines(text: string, maxLines: number): string {
} }
return lines.slice(0, maxLines).join('\n') + '…' return lines.slice(0, maxLines).join('\n') + '…'
} }