Skip to content

Commit ccef2f7

Browse files
committed
Address review comments
1 parent 451be6c commit ccef2f7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

java/kotlin-extractor/kotlin_plugin_versions.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,8 @@ def get_single_version(fakeVersionOutput = None):
5757
raise Exception(f'No suitable kotlinc version found for {current_version} (got {versionOutput}; know about {str(many_versions)})')
5858

5959
def get_latest_url():
60+
if ci_version not in many_versions:
61+
raise Exception('CI version must be one of many_versions')
6062
url = 'https://github.com/JetBrains/kotlin/releases/download/v' + ci_version + '/kotlin-compiler-' + ci_version + '.zip'
6163
return url
6264

0 commit comments

Comments
 (0)