Skip to content

Commit

Permalink
Change url to html_url. Fixes #140 (#141)
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander Vassbotn Røyne-Helgesen authored and alexcanessa committed Mar 1, 2018
1 parent adfc5e5 commit 3f08a6e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/src/Gren.js
Original file line number Diff line number Diff line change
Expand Up @@ -426,11 +426,11 @@ class Gren {
*
* @return {string}
*/
_templateCommits({ sha, commit: { author: { name }, message, url } }) {
_templateCommits({ sha, commit: { author: { name }, message, html_url } }) {
return generate({
sha,
message: message.split('\n')[0],
url,
html_url,
author: name
}, this.options.template.commit);
}
Expand Down

0 comments on commit 3f08a6e

Please sign in to comment.