From 8532c14876165974a7fbc5482f665eb098911785 Mon Sep 17 00:00:00 2001 From: Frank Viernau Date: Fri, 6 Oct 2023 09:00:06 +0200 Subject: [PATCH] chore(GoMod): Raise the version requirement Ensure that projects containing the embed directive can be analyzed without issues, see also the preceeding commit. Signed-off-by: Frank Viernau --- analyzer/src/main/kotlin/managers/GoMod.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/analyzer/src/main/kotlin/managers/GoMod.kt b/analyzer/src/main/kotlin/managers/GoMod.kt index 3b7ea6ae3c8d1..befe8806cd12a 100644 --- a/analyzer/src/main/kotlin/managers/GoMod.kt +++ b/analyzer/src/main/kotlin/managers/GoMod.kt @@ -100,7 +100,7 @@ class GoMod( override fun transformVersion(output: String) = output.removePrefix("go version go").substringBefore(' ') - override fun getVersionRequirement(): RangesList = RangesListFactory.create(">=1.19.0") + override fun getVersionRequirement(): RangesList = RangesListFactory.create(">=1.21.1") override fun mapDefinitionFiles(definitionFiles: List): List = definitionFiles.filterNot { definitionFile ->