mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2025-01-10 23:51:01 -07:00
Fix bug
This commit is contained in:
parent
520eaeb12f
commit
222872c47a
1 changed files with 1 additions and 0 deletions
|
@ -33,6 +33,7 @@ module.exports = async (app: express.Application) => {
|
||||||
handler.on('status', event => {
|
handler.on('status', event => {
|
||||||
const state = event.state;
|
const state = event.state;
|
||||||
switch (state) {
|
switch (state) {
|
||||||
|
case 'error':
|
||||||
case 'failure':
|
case 'failure':
|
||||||
const commit = event.commit;
|
const commit = event.commit;
|
||||||
const parent = commit.parents[0];
|
const parent = commit.parents[0];
|
||||||
|
|
Loading…
Reference in a new issue