This commit is contained in:
syuilo 2017-04-02 03:47:55 +09:00
parent 8bf0384fc6
commit e82e59aaca

View file

@ -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 {