We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cee0e8e commit 3fe1550Copy full SHA for 3fe1550
java/kotlin-extractor/kotlin_plugin_versions.py
@@ -46,10 +46,10 @@ def get_single_version(fakeVersionOutput = None):
46
if len(matching_minor_versions) == 0:
47
raise Exception(f'Cannot find a matching minor version for kotlinc version {current_version} (got {versionOutput}; know about {str(many_versions)})')
48
49
- matching_minor_versions.sort()
+ matching_minor_versions.sort(reverse = True)
50
51
for version in matching_minor_versions:
52
- if version >= current_version:
+ if version <= current_version:
53
return version_tuple_to_string(version)
54
55
return version_tuple_to_string(matching_minor_versions[-1])
0 commit comments