Skip to content

Commit 50aba36

Browse files
authored
Merge pull request #670 from Vampire/fix-noop-comparison
fix noop comparison
2 parents d7beeec + 3d54bb2 commit 50aba36

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/core/src/main/kotlin/de/fayard/refreshVersions/core/internal/NewRefreshVersionsImpl.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ internal suspend fun lookupVersionCandidates(
124124
key = propertyName
125125
)?.let { Version(it) } ?: emptyVersion
126126
val lowestVersionInCatalog = versionsCatalogLibraries.mapNotNull {
127-
val matches = it.module.group == moduleId.group && it.module.name == it.module.name
127+
val matches = it.module.group == moduleId.group && it.module.name == moduleId.name
128128
when {
129129
matches -> it.versionConstraint.tryExtractingSimpleVersion()?.let { rawVersion ->
130130
Version(rawVersion)

0 commit comments

Comments
 (0)