3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-03-15 05:41:51 +00:00

ModActions: join reason attachments with spaces, not newlines

This commit is contained in:
Dragory 2019-02-23 21:54:22 +02:00
parent f7274225f9
commit 09b3775247

View file

@ -130,7 +130,7 @@ export class ModActionsPlugin extends ZeppelinPlugin {
formatReasonWithAttachments(reason: string, attachments: Attachment[]) {
const attachmentUrls = attachments.map(a => a.url);
return ((reason || "") + "\n" + attachmentUrls.join("\n")).trim();
return ((reason || "") + " " + attachmentUrls.join(" ")).trim();
}
/**