Skip to content

Commit 3f08a6e

Browse files
Alexander Vassbotn Røyne-Helgesenalexcanessa
authored andcommitted
Change url to html_url. Fixes #140 (#141)
1 parent adfc5e5 commit 3f08a6e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/src/Gren.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -426,11 +426,11 @@ class Gren {
426426
*
427427
* @return {string}
428428
*/
429-
_templateCommits({ sha, commit: { author: { name }, message, url } }) {
429+
_templateCommits({ sha, commit: { author: { name }, message, html_url } }) {
430430
return generate({
431431
sha,
432432
message: message.split('\n')[0],
433-
url,
433+
html_url,
434434
author: name
435435
}, this.options.template.commit);
436436
}

0 commit comments

Comments
 (0)