Skip to content
This repository has been archived by the owner on Jan 31, 2019. It is now read-only.

Commit

Permalink
Merge pull request #1062 from magical/master
Browse files Browse the repository at this point in the history
irc: fix grammar
  • Loading branch information
jonrohan committed Jun 18, 2015
2 parents 527dc0c + f840b95 commit 4c67393
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/services/irc.rb
Expand Up @@ -285,7 +285,7 @@ def irc_issue_summary_message
def irc_issue_comment_summary_message
short = comment.body.split("\r\n", 2).first.to_s
short += '...' if short != comment.body
"[#{fmt_repo repo.name}] #{fmt_name sender.login} comment on issue \##{issue.number}: #{short}"
"[#{fmt_repo repo.name}] #{fmt_name sender.login} commented on issue \##{issue.number}: #{short}"
rescue
raise_config_error "Unable to build message: #{$!.to_s}"
end
Expand All @@ -294,7 +294,7 @@ def irc_commit_comment_summary_message
short = comment.body.split("\r\n", 2).first.to_s
short += '...' if short != comment.body
sha1 = comment.commit_id
"[#{fmt_repo repo.name}] #{fmt_name sender.login} comment on commit #{fmt_hash sha1[0..6]}: #{short}"
"[#{fmt_repo repo.name}] #{fmt_name sender.login} commented on commit #{fmt_hash sha1[0..6]}: #{short}"
rescue
raise_config_error "Unable to build message: #{$!.to_s}"
end
Expand All @@ -314,7 +314,7 @@ def irc_pull_request_review_comment_summary_message
short = comment.body.split("\r\n", 2).first.to_s
short += '...' if short != comment.body
sha1 = comment.commit_id
"[#{fmt_repo repo.name}] #{fmt_name sender.login} comment on pull request " +
"[#{fmt_repo repo.name}] #{fmt_name sender.login} commented on pull request " +
"\##{pull_request_number} #{fmt_hash sha1[0..6]}: #{short}"
rescue
raise_config_error "Unable to build message: #{$!.to_s}"
Expand Down

0 comments on commit 4c67393

Please sign in to comment.