Skip to content
Browse files

Fix text formatting error in branch create/delete/commits messages.

'n open issues remain' message needed a space in front of it, and the branchname needed some punctuation.
  • Loading branch information...
1 parent 0e30554 commit f58fbdb823cf9032ff781b6336da3a6a8f4f2835 @mattdeboard mattdeboard committed Dec 10, 2011
Showing with 3 additions and 3 deletions.
  1. +3 −3 src/lazybot/plugins/github.clj
View
6 src/lazybot/plugins/github.clj
@@ -62,13 +62,13 @@ specified in config.clj."
com-m
(str "\u0002" owner "/" name "\u0002"
": " (cond
- branchdel? (str (:upper commit-type) " deleted: " branch)
- branchnew? (str (:upper commit-type) " created: " branch)
+ branchdel? (str (:upper commit-type) " deleted: " branch ".")
+ branchnew? (str (:upper commit-type) " created: " branch ".")
:else (str " -- " (count commits) " new commit(s) on " (:lower commit-type) " " branch ". Compare view at <" (shorten-url compare) ">."))
;; Only report issues if there are some issues
;; to report.
(when (> (:open_issues repository) 0)
- (str (:open_issues repository) " open issues remain.")))))
+ (str " " (:open_issues repository) " open issues remain.")))))
;; Grab first three commits from the message and pass to
;; (notify-chan) to squawk.
(doseq [commit (take 3 commits)]

0 comments on commit f58fbdb

Please sign in to comment.
Something went wrong with that request. Please try again.