Skip to content

Commit

Permalink
fix(github): detect issue disablement
Browse files Browse the repository at this point in the history
  • Loading branch information
rarkins committed Nov 1, 2021
1 parent 00783c4 commit 327e41b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/platform/github/index.ts
Expand Up @@ -1010,6 +1010,10 @@ async function getIssues(): Promise<Issue[]> {
}

export async function getIssueList(): Promise<Issue[]> {
// istanbul ignore if
if (config.hasIssuesEnabled === false) {
return null;
}
if (!config.issueList) {
logger.debug('Retrieving issueList');
config.issueList = await getIssues();
Expand Down

0 comments on commit 327e41b

Please sign in to comment.