From c3416463ab8cea1b8f475a4a8ca1726e51329f71 Mon Sep 17 00:00:00 2001 From: syuilo Date: Sun, 2 Apr 2017 03:47:55 +0900 Subject: [PATCH] Fix --- src/api/service/github.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api/service/github.ts b/src/api/service/github.ts index 8b9b5edea0..68bc03bd5f 100644 --- a/src/api/service/github.ts +++ b/src/api/service/github.ts @@ -51,7 +51,7 @@ module.exports = async (app: express.Application) => { } const parentStatuses = JSON.parse(body); const parentState = parentStatuses[0].state; - const stillFailed = parentState == 'failure'; + const stillFailed = parentState == 'failure' || parentState == 'error'; if (stillFailed) { post(`**⚠️BUILD STILL FAILED⚠️**: ?[${commit.commit.message}](${commit.html_url})`); } else {