mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-14 22:17:30 -07:00
Fix
This commit is contained in:
parent
8bf0384fc6
commit
e82e59aaca
1 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,7 @@ module.exports = async (app: express.Application) => {
|
||||||
}
|
}
|
||||||
const parentStatuses = JSON.parse(body);
|
const parentStatuses = JSON.parse(body);
|
||||||
const parentState = parentStatuses[0].state;
|
const parentState = parentStatuses[0].state;
|
||||||
const stillFailed = parentState == 'failure';
|
const stillFailed = parentState == 'failure' || parentState == 'error';
|
||||||
if (stillFailed) {
|
if (stillFailed) {
|
||||||
post(`**⚠️BUILD STILL FAILED⚠️**: ?[${commit.commit.message}](${commit.html_url})`);
|
post(`**⚠️BUILD STILL FAILED⚠️**: ?[${commit.commit.message}](${commit.html_url})`);
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue