From f15f4e0bcbd6a3d8cdd520450c56b14abcb7dc6a Mon Sep 17 00:00:00 2001 From: syuilo Date: Fri, 31 Mar 2017 20:24:14 +0900 Subject: [PATCH] Fix bug --- src/api/service/github.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/api/service/github.ts b/src/api/service/github.ts index 6394e83d76..8b9b5edea0 100644 --- a/src/api/service/github.ts +++ b/src/api/service/github.ts @@ -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];