Skip to content

Commit ea0934e

Browse files
Merge pull request #48 from TheDragonCode/build/app-m46fq7g
Application compiled successfully
2 parents d924c46 + ef50eab commit ea0934e

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

dist/index.js

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34941,9 +34941,11 @@ class Repository {
3494134941
}
3494234942
async commit() {
3494334943
try {
34944-
const message = this._config.repository.commit.title +
34945-
"\n" +
34946-
this._config.repository.commit.body;
34944+
let message = this._config.repository.commit.title;
34945+
const body = this._config.repository.commit.body || "";
34946+
if (body !== "") {
34947+
message += `\n${body}`;
34948+
}
3494734949
await (0, processes_1.exec)(`git commit -m "${message}"`);
3494834950
}
3494934951
catch (error) {

0 commit comments

Comments
 (0)