fix typo in github.coffee
This commit is contained in:
parent
86f51a0e5f
commit
bc781c7ad0
@ -26,9 +26,10 @@ module.exports = (robot) ->
|
|||||||
cm = req.body.commits.map (c) ->
|
cm = req.body.commits.map (c) ->
|
||||||
[c.committer.username,c.message].join ' -> '
|
[c.committer.username,c.message].join ' -> '
|
||||||
robot.send dest, s+cm.join('\n')
|
robot.send dest, s+cm.join('\n')
|
||||||
|
|
||||||
unless process.env.TESTING_ASJON
|
unless process.env.TESTING_ASJON
|
||||||
# Disabilito http route durante i test
|
# 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) ->
|
robot.respond /(?:(?:mostra(?:mi)?|fammi vedere) )?(?:le )?issue(?:s)?/i, (res) ->
|
||||||
msg = state: 'open', user: 'fazo96', repo: 'asjon', sort: 'updated'
|
msg = state: 'open', user: 'fazo96', repo: 'asjon', sort: 'updated'
|
||||||
|
Loading…
Reference in New Issue
Block a user