fix typo in github.coffee

This commit is contained in:
Enrico Fasoli 2015-04-29 16:02:46 +02:00
parent 86f51a0e5f
commit bc781c7ad0

View File

@ -26,9 +26,10 @@ module.exports = (robot) ->
cm = req.body.commits.map (c) ->
[c.committer.username,c.message].join ' -> '
robot.send dest, s+cm.join('\n')
unless process.env.TESTING_ASJON
# Disabilito http route durante i test
robot.router.post '/hubot/githubhook/:room/:name?',
robot.router.post '/hubot/githubhook/:room/:name?', githubhook
robot.respond /(?:(?:mostra(?:mi)?|fammi vedere) )?(?:le )?issue(?:s)?/i, (res) ->
msg = state: 'open', user: 'fazo96', repo: 'asjon', sort: 'updated'