File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
modules/core/src/main/scala/org/scalasteward/core/repoconfig Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change 1616
1717package org .scalasteward .core .repoconfig
1818
19+ import cats .implicits ._
1920import cats .kernel .Semigroup
2021import eu .timepit .refined .types .numeric .PosInt
2122import io .circe .generic .extras .Configuration
@@ -146,7 +147,7 @@ object UpdatesConfig {
146147 }
147148
148149 // merge UpdatePattern for same group id
149- private def mergeAllowGroupId (
150+ private [ this ] def mergeAllowGroupId (
150151 x : List [UpdatePattern ],
151152 y : List [UpdatePattern ]
152153 ): List [UpdatePattern ] =
@@ -172,12 +173,10 @@ object UpdatesConfig {
172173 else builder.toList
173174 }
174175
175- private def satisfyUpdatePattern (
176+ private [ this ] def satisfyUpdatePattern (
176177 targetUpdatePattern : UpdatePattern ,
177178 comparedUpdatePatternsByArtifact : Map [Option [String ], List [UpdatePattern ]]
178179 ): Boolean = {
179- import cats .implicits ._
180-
181180 comparedUpdatePatternsByArtifact.get(targetUpdatePattern.artifactId).exists { matchedVersions =>
182181 // For simplicity I'm using direct equals here between versions. Feel free to make it more advanced
183182 matchedVersions.exists(up => up.version.isEmpty || up.version === targetUpdatePattern.version)
You can’t perform that action at this time.
0 commit comments