mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-23 05:33:08 +02:00
Fix bug
This commit is contained in:
parent
b17d65a3fd
commit
f15f4e0bcb
1 changed files with 1 additions and 0 deletions
|
@ -33,6 +33,7 @@ module.exports = async (app: express.Application) => {
|
|||
handler.on('status', event => {
|
||||
const state = event.state;
|
||||
switch (state) {
|
||||
case 'error':
|
||||
case 'failure':
|
||||
const commit = event.commit;
|
||||
const parent = commit.parents[0];
|
||||
|
|
Loading…
Reference in a new issue