Skip to content

Commit 80f9b49

Browse files
committed
chore: format
1 parent fef5ed7 commit 80f9b49

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

extensions/cli/src/ui/SlashCommandUI.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,10 @@ const truncateDescription = (description: string): string => {
1010
if (description.length <= MAX_DESCRIPTION_LENGTH) {
1111
return description;
1212
}
13-
return Array.from(description).slice(0, MAX_DESCRIPTION_LENGTH).join("").trim() + "…";
13+
return (
14+
Array.from(description).slice(0, MAX_DESCRIPTION_LENGTH).join("").trim() +
15+
"…"
16+
);
1417
};
1518

1619
interface SlashCommandUIProps {

0 commit comments

Comments
 (0)