mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 13:00:58 +00:00
Fix bad spacing in /help (#203245)
This commit is contained in:
parent
1d62c50954
commit
d87f1716cf
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue