trim msg
This commit is contained in:
parent
e33ec38318
commit
0416434c47
|
@ -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' });
|
||||
|
|
Loading…
Reference in New Issue
Block a user