Skip to content
This repository was archived by the owner on Nov 29, 2017. It is now read-only.

Commit a06b9b7

Browse files
committed
pj approves
1 parent 58e8f35 commit a06b9b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎services/campfire.rb‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
throw(:halt, 400) unless campfire && campfire.login(data['token'], 'X')
99
throw(:halt, 400) unless room = campfire.find_room_by_name(data['room'])
1010

11-
if commits.size > 10
11+
if commits.size > 1
1212
commit = commits.last
1313
before, after = payload['before'], payload['after']
1414
compare_url = payload['repository']['url'] + "/compare/#{before}...#{after}"

0 commit comments

Comments
 (0)