modeline, formatting, cleanup of attachments
This commit is contained in:
parent
817a367367
commit
4597eebb18
|
@ -1,4 +1,5 @@
|
||||||
/*
|
/*
|
||||||
|
* vim: set syntax=javascript ts=2 sw=2 sts=2 et :
|
||||||
* JS script to handle incomming github webhooks
|
* JS script to handle incomming github webhooks
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@ -184,7 +185,6 @@ const githubEvents = {
|
||||||
};
|
};
|
||||||
|
|
||||||
attachment.author_name = commits[i].author.name;
|
attachment.author_name = commits[i].author.name;
|
||||||
attachment.text = commits[i].message;
|
|
||||||
attachment.title_link = commits[i].url;
|
attachment.title_link = commits[i].url;
|
||||||
attachment.title = commits[i].message;
|
attachment.title = commits[i].message;
|
||||||
atts.push(attachment);
|
atts.push(attachment);
|
||||||
|
@ -197,7 +197,6 @@ const githubEvents = {
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
class Script {
|
class Script {
|
||||||
|
|
Loading…
Reference in New Issue