1
0
mirror of https://github.com/hotomoe/hotomoe synced 2024-12-11 13:18:11 +09:00
This commit is contained in:
syuilo 2017-03-31 20:24:14 +09:00
parent b17d65a3fd
commit f15f4e0bcb

View File

@ -33,6 +33,7 @@ module.exports = async (app: express.Application) => {
handler.on('status', event => {
const state = event.state;
switch (state) {
case 'error':
case 'failure':
const commit = event.commit;
const parent = commit.parents[0];