Merge pull request #18 from github/quiet-canary
Don't distract with canary alerts
This commit is contained in:
Коммит
6b4c6d32d0
|
@ -104,6 +104,9 @@ module.exports = (robot) ->
|
|||
robot.emit 'error', err, msg
|
||||
return
|
||||
|
||||
incidents = incidents.filter (inc) ->
|
||||
!/ninesapp\/canary/.test(inc.title)
|
||||
|
||||
if incidents.length == 0
|
||||
msg.send "No open incidents"
|
||||
return
|
||||
|
|
Загрузка…
Ссылка в новой задаче