From d9cb1a158ccda630634e507280d1adacd6f07011 Mon Sep 17 00:00:00 2001 From: Sergei Zharinov Date: Tue, 20 Jun 2023 22:41:57 +0300 Subject: [PATCH] Fix coverage --- lib/modules/datasource/go/releases-goproxy.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/modules/datasource/go/releases-goproxy.ts b/lib/modules/datasource/go/releases-goproxy.ts index 140a06cbcf30ae..a06c3520354486 100644 --- a/lib/modules/datasource/go/releases-goproxy.ts +++ b/lib/modules/datasource/go/releases-goproxy.ts @@ -239,7 +239,7 @@ export class GoProxyDatasource extends Datasource { const isGopkgin = packageName.startsWith('gopkg.in/'); const majorSuffixSeparator = isGopkgin ? '.' : '/'; const modParts = packageName.match(modRegex)?.groups; - const baseMod = modParts?.baseMod ?? packageName; + const baseMod = modParts?.baseMod ?? /* istanbul ignore next */ packageName; const packageMajor = parseInt(modParts?.majorVersion ?? '0'); const result: ReleaseResult = { releases: [] };