Fix bad spacing in /help (#203245)

This commit is contained in:
Rob Lourens 2024-01-23 17:35:19 -03:00 committed by GitHub
parent 1d62c50954
commit d87f1716cf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -265,7 +265,7 @@ class ChatSlashStaticSlashCommandsContribution extends Disposable {
return `\t* [\`${chatSubcommandLeader}${c.name}\`](command:${SubmitAction.ID}?${urlSafeArg}) - ${c.description}`;
}).join('\n');
return agentLine + '\n' + commandText;
return (agentLine + '\n' + commandText).trim();
}))).join('\n');
progress.report({ content: new MarkdownString(agentText, { isTrusted: { enabledCommands: [SubmitAction.ID] } }), kind: 'markdownContent' });
if (defaultAgent?.metadata.helpTextPostfix) {