UNPKG

426 BJavaScriptView Raw
1"use strict";
2Object.defineProperty(exports, "__esModule", { value: true });
3exports.buildCommitMesage = void 0;
4const buildCommitMesage = ({ header, body, footer, }) => {
5 let message = header;
6 message = body ? `${message}\n\n${body}` : message;
7 message = footer ? `${message}\n\n${footer}` : message;
8 return message;
9};
10exports.buildCommitMesage = buildCommitMesage;
11//# sourceMappingURL=commit-message.js.map
\No newline at end of file