Skip to content

Commit c1b0fd1

Browse files
committed
debug
1 parent 12ca140 commit c1b0fd1

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

lib/travis/hub/handler.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ def run
3131

3232
def handle
3333
const = Service.const_get("Update#{camelize(type)}")
34+
p [event, payload]
3435
const.new(context, event, payload).run
3536
end
3637

lib/travis/hub/service/state_update.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ def key
3434
}
3535

3636
def apply?
37-
return true if out_of_band?
37+
return true if out_of_band? # TODO we need to increment the counter here, don't we?
3838
return missing unless given?
3939
apply = ordered? ? ordered : unordered
4040
return true unless ENV['UPDATE_COUNT']

0 commit comments

Comments
 (0)