From b3fc7b89685b938c3f8308117a26cd374ba2a1c7 Mon Sep 17 00:00:00 2001 From: Rahul Gautam Singh Date: Wed, 20 Nov 2024 22:20:04 +0530 Subject: [PATCH] fix coverage --- lib/workers/global/limits.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/workers/global/limits.ts b/lib/workers/global/limits.ts index 1237dc51a1b087..3145e1907171b9 100644 --- a/lib/workers/global/limits.ts +++ b/lib/workers/global/limits.ts @@ -194,6 +194,7 @@ export function isLimitReached( return handleOtherLimits(limit, config); } + // istanbul ignore if: should not happen throw new Error( 'Config is required for computing limits for Branches and PullRequests', );