Skip to content

Commit

Permalink
Address compilation warning
Browse files Browse the repository at this point in the history
  • Loading branch information
alexarchambault committed Jan 20, 2025
1 parent 2246c2f commit 683174c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion versions/shared/src/coursier/version/ModuleMatcher.scala
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,11 @@ import scala.util.matching.Regex
lazy val orgPattern = blobToPattern(organizationMatcher)
lazy val namePattern = blobToPattern(nameMatcher)
lazy val attributesPattern = attributeMatchers
.mapValues(blobToPattern(_))
.iterator
.map {
case (k, v) =>
(k, blobToPattern(v))
}
.toMap

def matches(organization: String, name: String): Boolean =
Expand Down

0 comments on commit 683174c

Please sign in to comment.