Skip to content

Commit

Permalink
fixed commit comment bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Zomis committed Jun 23, 2015
1 parent ffe2f6f commit ae44a81
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ class HookStringification {

void commit_comment(List<String> result, def json) {
String path = json.comment.path
String commitId = json.comment_commit_id.substring(0, 8)
String commitId = json.comment.commit_id.substring(0, 8)
String commitLink = "[$commitId]($json.repository.html_url/commit/$json.comment.commit_id)"
if (path == null || path.isEmpty()) {
result << format(json, "%repository% %sender% [commented]($json.comment.html_url) on commit $commitLink")
Expand Down

0 comments on commit ae44a81

Please sign in to comment.