From bc781c7ad0f4aef7fd4f2951e5684fd1df803062 Mon Sep 17 00:00:00 2001 From: Enrico Fasoli Date: Wed, 29 Apr 2015 16:02:46 +0200 Subject: [PATCH] fix typo in github.coffee --- scripts/github.coffee | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/github.coffee b/scripts/github.coffee index 9a5493c..0e1207f 100644 --- a/scripts/github.coffee +++ b/scripts/github.coffee @@ -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'