This commit is contained in:
syuilo 2017-03-18 01:51:08 +09:00
parent 411ed3413f
commit 50d573caa5

View file

@ -33,8 +33,8 @@ module.exports = async (app: express.Application) => {
const state = event.state; const state = event.state;
switch (state) { switch (state) {
case 'failure': case 'failure':
const commit = event.commit.commit; const commit = event.commit;
post(`🚨BUILD FAILED🚨⚠: ?[${commit.message}](${commit.url})`); post(`🚨BUILD FAILED🚨⚠: ?[${commit.commit.message}](${commit.html_url})`);
break; break;
} }
}); });