dimenticato una S

This commit is contained in:
Enrico Fasoli 2015-04-25 15:24:46 +02:00
parent 53c247ae01
commit a5eed2a27f

View File

@ -12,7 +12,7 @@ module.exports = (robot) ->
req.headers["x-hub-signature"], 'but expected', "sha1="+process.env.GITHUB_API_SECRET req.headers["x-hub-signature"], 'but expected', "sha1="+process.env.GITHUB_API_SECRET
return return
dest = name: req.params.name, room: req.params.room dest = name: req.params.name, room: req.params.room
if req.body.ref is 'refs/head/master' if req.body.ref is 'refs/heads/master'
s = 'Sono stato aggiornato!\n' s = 'Sono stato aggiornato!\n'
cm = req.body.commits.map (c) -> cm = req.body.commits.map (c) ->
[c.committer.username,c.message].join ' -> ' [c.committer.username,c.message].join ' -> '