From b24f21d19b9c877a8f284f79077bc45bff312bb4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tobias=20Nie=C3=9Fen?= Date: Wed, 3 May 2023 11:30:18 +0200 Subject: [PATCH] fix: accurately define ncu-ci report condition Problems are ignored if they occurred in less than two PRs. Thus, they are reported if they failed in two or more PRs. --- lib/ci/failure_aggregator.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ci/failure_aggregator.js b/lib/ci/failure_aggregator.js index d8c70893..36105714 100644 --- a/lib/ci/failure_aggregator.js +++ b/lib/ci/failure_aggregator.js @@ -72,7 +72,7 @@ export class FailureAggregator { let output = 'Failures in '; output += `[${jobName}/${first.jobid}](${first.link}) to `; output += `[${jobName}/${last.jobid}](${last.link}) `; - output += 'that failed more than 2 PRs\n'; + output += 'that failed 2 or more PRs\n'; output += '(Generated with `ncu-ci '; output += `${process.argv.slice(2).join(' ')}\`)\n\n`;