Skip to content

Commit 4444018

Browse files
Update cli/src/components/choice-ad-banner.tsx
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
1 parent 4936b9b commit 4444018

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

cli/src/components/choice-ad-banner.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ function truncateToLines(text: string, lineWidth: number, maxLines: number): str
2828
function truncateToWidth(text: string, width: number): string {
2929
if (width <= 0) return ''
3030
if (text.length <= width) return text
31-
if (width === 1) return '…'
3231
return text.slice(0, width - 1) + '…'
3332
}
3433

0 commit comments

Comments
 (0)