We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d924c46 + ef50eab commit ea0934eCopy full SHA for ea0934e
dist/index.js
@@ -34941,9 +34941,11 @@ class Repository {
34941
}
34942
async commit() {
34943
try {
34944
- const message = this._config.repository.commit.title +
34945
- "\n" +
34946
- this._config.repository.commit.body;
+ let message = this._config.repository.commit.title;
+ const body = this._config.repository.commit.body || "";
+ if (body !== "") {
34947
+ message += `\n${body}`;
34948
+ }
34949
await (0, processes_1.exec)(`git commit -m "${message}"`);
34950
34951
catch (error) {
0 commit comments