Skip to content

Commit

Permalink
fixed gollum event
Browse files Browse the repository at this point in the history
  • Loading branch information
Zomis committed Jun 21, 2015
1 parent a16563b commit ffe2f6f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions grails-app/services/net/zomis/duga/HookStringification.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,10 @@ class HookStringification {
result << format(json, "%repository% %sender% forked us into [**$json.forkee.full_name**]($json.forkee.html_url)")
}

public String stringify(json, wikiPage) {
result << format(json, "%repository% %sender% $wikiPage.action wiki page [**${wikiPage.title.trim()}**]($wikiPage.html_url)")
void gollum(List<String> result, def json) {
for (def page : json.pages) {
result << format(json, "%repository% %sender% $page.action wiki page [**${page.title.trim()}**]($page.html_url)")
}
}

void issues(List<String> result, def json) {
Expand Down

0 comments on commit ffe2f6f

Please sign in to comment.