diff --git a/lib/util/git/config.ts b/lib/util/git/config.ts
index cf13acf696b90587e00919ba75a8083da072d1d7..feae102a483b2bc2a72e2d8b5ff4c58d76c5a2f4 100644
--- a/lib/util/git/config.ts
+++ b/lib/util/git/config.ts
@@ -5,8 +5,8 @@ import type { GitNoVerifyOption } from './types';
 let noVerify: GitNoVerifyOption[] = ['push', 'commit'];
 
 export function setNoVerify(value: GitNoVerifyOption[]): void {
+  // istanbul ignore if
   if (!is.array(value, is.string)) {
-    // istanbul ignore next
     throw new Error('config error: gitNoVerify should be an array of strings');
   }
   noVerify = value;