Don't silence pusher warnings

This commit is contained in:
Piotr Sarnacki 2014-02-27 17:46:17 +01:00
parent be0f601a4c
commit 046abf397c

View File

@ -85,8 +85,4 @@ $.extend Travis.Pusher.prototype,
{ annotation: data }
warn: (type, warning) ->
console.warn(warning) unless @ignoreWarning(warning)
ignoreWarning: (warning) ->
if message = warning.data?.message
message.indexOf('Existing subscription') == 0 or message.indexOf('No current subscription') == 0
console.warn(warning)