Skip to content

Commit

Permalink
chore(GoMod): Raise the version requirement
Browse files Browse the repository at this point in the history
Ensure that projects containing the embed directive can be analyzed
without issues, see also the preceeding commit.

Signed-off-by: Frank Viernau <[email protected]>
  • Loading branch information
fviernau committed Oct 6, 2023
1 parent 8089636 commit 8532c14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion analyzer/src/main/kotlin/managers/GoMod.kt
Original file line number Diff line number Diff line change
Expand Up @@ -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")

Check warning on line 103 in analyzer/src/main/kotlin/managers/GoMod.kt

View check run for this annotation

Codecov / codecov/patch

analyzer/src/main/kotlin/managers/GoMod.kt#L103

Added line #L103 was not covered by tests

override fun mapDefinitionFiles(definitionFiles: List<File>): List<File> =
definitionFiles.filterNot { definitionFile ->
Expand Down

0 comments on commit 8532c14

Please sign in to comment.