UNPKG

280 BJavaScriptView Raw
1export const buildCommitMessage = ({ header, body, footer, }) => {
2 let message = header;
3 message = body ? `${message}\n\n${body}` : message;
4 message = footer ? `${message}\n\n${footer}` : message;
5 return message || '';
6};
7//# sourceMappingURL=commit-message.js.map
\No newline at end of file