Skip to content

Commit c4afd92

Browse files
committed
fix(parser): Fix commit message for GitLab parser
1 parent 951d0d2 commit c4afd92

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

parser.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ var GitLab = (function () {
7979
slug: slug,
8080
branch: this.payload.ref.replace(/^refs\/heads\//, ''),
8181
url: this.payload.repository.homepage,
82-
commit: this.payload.total_commits_count > 0 ? this.payload.commits.slice(-1) : undefined
82+
commit: this.payload.total_commits_count > 0 ? this.payload.commits.slice(-1).message : undefined
8383
});
8484
};
8585

0 commit comments

Comments
 (0)