mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-05-21 08:45:03 +00:00
4 lines
212 B
TypeScript
4 lines
212 B
TypeScript
export function formatReasonWithAttachments(reason: string, attachments: Attachment[]) {
|
|
const attachmentUrls = attachments.map(a => a.url);
|
|
return ((reason || "") + " " + attachmentUrls.join(" ")).trim();
|
|
}
|