fix build (fuck gitlab api)

This commit is contained in:
selfisekai 2020-08-22 00:37:45 +02:00
parent 374f5d4189
commit 657c157bf8

View file

@ -114,6 +114,7 @@ export default class GitHubRepoManager implements RepoManager {
opened: ISSUE_STATE.OPEN, opened: ISSUE_STATE.OPEN,
closed: ISSUE_STATE.CLOSED, closed: ISSUE_STATE.CLOSED,
locked: ISSUE_STATE.CLOSED, locked: ISSUE_STATE.CLOSED,
all: ISSUE_STATE.CLOSED, // today's fact: gitlab api is fucked up
}[issue.state], }[issue.state],
}; };
} }
@ -151,6 +152,7 @@ export default class GitHubRepoManager implements RepoManager {
closed: MERGE_REQUEST_STATE.CLOSED, closed: MERGE_REQUEST_STATE.CLOSED,
merged: MERGE_REQUEST_STATE.MERGED, merged: MERGE_REQUEST_STATE.MERGED,
locked: MERGE_REQUEST_STATE.CLOSED, locked: MERGE_REQUEST_STATE.CLOSED,
all: MERGE_REQUEST_STATE.CLOSED, // today's fact: gitlab api is fucked up
}[mergeRequest.state], }[mergeRequest.state],
mergability: mergability:
({ ({