diff --git a/extensions/cli/src/ui/SlashCommandUI.tsx b/extensions/cli/src/ui/SlashCommandUI.tsx index ecc3c892a..66107c048 100644 --- a/extensions/cli/src/ui/SlashCommandUI.tsx +++ b/extensions/cli/src/ui/SlashCommandUI.tsx @@ -10,7 +10,10 @@ const truncateDescription = (description: string): string => { if (description.length <= MAX_DESCRIPTION_LENGTH) { return description; } - return Array.from(description).slice(0, MAX_DESCRIPTION_LENGTH).join("").trim() + "…"; + return ( + Array.from(description).slice(0, MAX_DESCRIPTION_LENGTH).join("").trim() + + "…" + ); }; interface SlashCommandUIProps {