fix build (fuck gitlab api)
This commit is contained in:
parent
374f5d4189
commit
657c157bf8
2
src/vendor/gitlab/repomgr.ts
vendored
2
src/vendor/gitlab/repomgr.ts
vendored
|
@ -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:
|
||||||
({
|
({
|
||||||
|
|
Loading…
Reference in a new issue