From 31c63a95495425b20fa2aea8b6d5c031be84ee4c Mon Sep 17 00:00:00 2001 From: Michael Kriese <michael.kriese@visualon.de> Date: Wed, 9 Feb 2022 16:48:51 +0100 Subject: [PATCH] chore: fix coverage comment. (#14115) --- lib/util/git/config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/util/git/config.ts b/lib/util/git/config.ts index cf13acf696..feae102a48 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; -- GitLab