Skip to content

Commit

Permalink
fix(parser): Fix commit message for GitLab parser
Browse files Browse the repository at this point in the history
  • Loading branch information
olls committed Feb 10, 2016
1 parent 951d0d2 commit c4afd92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion parser.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ var GitLab = (function () {
slug: slug,
branch: this.payload.ref.replace(/^refs\/heads\//, ''),
url: this.payload.repository.homepage,
commit: this.payload.total_commits_count > 0 ? this.payload.commits.slice(-1) : undefined
commit: this.payload.total_commits_count > 0 ? this.payload.commits.slice(-1).message : undefined
});
};

Expand Down

0 comments on commit c4afd92

Please sign in to comment.