This commit is contained in:
Flummi 2016-09-10 18:14:33 +02:00
parent e33ec38318
commit 0416434c47

View File

@ -36,7 +36,7 @@ function Websrv(tbot, tsql, tlib) {
var eventname = body.event_name;
var autor = body.user_name;
var commit = body.commits[body.commits.length-1].message.replace('\n','');
var commit = body.commits[body.commits.length-1].message.replace('\n','').trim();
lib.log( eventname + ' from ' + autor + ' ('+commit+')' );
});
res.writeHead(200, { 'Content-Type': 'text/html' });