File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
modules/core/src/main/scala/org/scalasteward/core/repoconfig Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -30,7 +30,6 @@ import org.scalasteward.core.update.FilterAlg.{
3030 VersionPinnedByConfig
3131}
3232import org .scalasteward .core .util .Nel
33- import cats .implicits ._
3433
3534import scala .collection .mutable .ListBuffer
3635
@@ -176,11 +175,14 @@ object UpdatesConfig {
176175 private def satisfyUpdatePattern (
177176 targetUpdatePattern : UpdatePattern ,
178177 comparedUpdatePatternsByArtifact : Map [Option [String ], List [UpdatePattern ]]
179- ): Boolean =
178+ ): Boolean = {
179+ import cats .implicits ._
180+
180181 comparedUpdatePatternsByArtifact.get(targetUpdatePattern.artifactId).exists { matchedVersions =>
181182 // For simplicity I'm using direct equals here between versions. Feel free to make it more advanced
182183 matchedVersions.exists(up => up.version.isEmpty || up.version === targetUpdatePattern.version)
183184 }
185+ }
184186
185187 // Strategy: union
186188 private [repoconfig] def mergeIgnore (
You can’t perform that action at this time.
0 commit comments