diff --git a/lib/manager/terraform/providers.ts b/lib/manager/terraform/providers.ts
index 0b07a7251bedf25430e8d4b683bce38b3df2f5ce..b0d0a37b7d519154d3fa50231d19e8ab93886b4c 100644
--- a/lib/manager/terraform/providers.ts
+++ b/lib/manager/terraform/providers.ts
@@ -39,7 +39,7 @@ export function extractTerraformProvider(
 
     const line = lines[lineNumber];
 
-    // istanbul ignore next
+    // istanbul ignore else
     if (is.string(line)) {
       // `{` will be counted wit +1 and `}` with -1. Therefore if we reach braceCounter == 0. We have found the end of the terraform block
       const openBrackets = (line.match(/\{/g) || []).length; // TODO #12071 #12070