mirror of
https://github.com/renovatebot/renovate.git
synced 2025-01-12 15:06:27 +00:00
fix(platform): don't log if issues are disabled when closing (#30267)
This commit is contained in:
parent
ca904f74c1
commit
702ffbc9c2
2 changed files with 0 additions and 6 deletions
|
@ -867,9 +867,6 @@ const platform: Platform = {
|
|||
async ensureIssueClosing(title: string): Promise<void> {
|
||||
logger.debug(`ensureIssueClosing(${title})`);
|
||||
if (config.hasIssuesEnabled === false) {
|
||||
logger.info(
|
||||
'Cannot ensure issue because issues are disabled in this repository',
|
||||
);
|
||||
return;
|
||||
}
|
||||
const issueList = await platform.getIssueList();
|
||||
|
|
|
@ -1390,9 +1390,6 @@ export async function ensureIssueClosing(title: string): Promise<void> {
|
|||
logger.trace(`ensureIssueClosing(${title})`);
|
||||
// istanbul ignore if
|
||||
if (config.hasIssuesEnabled === false) {
|
||||
logger.info(
|
||||
'Cannot ensure issue because issues are disabled in this repository',
|
||||
);
|
||||
return;
|
||||
}
|
||||
const issueList = await getIssueList();
|
||||
|
|
Loading…
Reference in a new issue