Permalink
Browse files

fixed: collecting commit messages

  • Loading branch information...
1 parent 72b84ae commit 3107bce43d915cabf6b73fd70f1ebf292c932357 @rockdog committed Nov 22, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 github_nabaztag.rb
View
2 github_nabaztag.rb
@@ -19,7 +19,7 @@ def initialize(payload)
def message
msg = "Repository #{@repository['name']} received new commits. "
- msg += @commits.collect { |hash, commit| "#{commit['author']['name']} committed: #{commit['message']}"}.join('. ')
+ msg += @commits.collect { |commit| "#{commit['author']['name']} committed: #{commit['message']}"}.join('. ')
msg += "."
msg
end

0 comments on commit 3107bce

Please sign in to comment.