summaryrefslogtreecommitdiff
path: root/src/api/service/github.ts
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2017-04-02 03:47:55 +0900
committersyuilo <syuilotan@yahoo.co.jp>2017-04-02 03:47:55 +0900
commitc3416463ab8cea1b8f475a4a8ca1726e51329f71 (patch)
tree6d4f76a7ee516bc155a8b506440a26da2a08a496 /src/api/service/github.ts
parentFix: Remove line break (diff)
downloadsharkey-c3416463ab8cea1b8f475a4a8ca1726e51329f71.tar.gz
sharkey-c3416463ab8cea1b8f475a4a8ca1726e51329f71.tar.bz2
sharkey-c3416463ab8cea1b8f475a4a8ca1726e51329f71.zip
Fix
Diffstat (limited to 'src/api/service/github.ts')
-rw-r--r--src/api/service/github.ts2
1 files changed, 1 insertions, 1 deletions
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 {