Skip to content

Commit

Permalink
Change url to html_url. Fixes github-tools#140
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander Vassbotn Røyne-Helgesen committed Mar 1, 2018
1 parent adfc5e5 commit fa87e15
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 fa87e15

Please sign in to comment.